Skip to content

Futures ETHUSDT market has an issue in JSON.parse #539

@wwforever

Description

@wwforever

Futures ETHUSDT market has an issue in JSON.parse (I don't know if it occurs in Spot or Coin-m, etc.)

The order id value of Ethereum has been changed from Number to Bigint.
It seems to have occurred around December 9, 2020. It is believed that the issue occurred after Binance supported Ethereum 2.0 staking.

I solved it using JSON-bigint.
https://github.com/sidorares/json-bigint

Change JSON.parse to JSONbig.parse in line 182 reqHandler function.
Change JSON.parse to JSONbig.parse.In line 509 promiseRequest function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedneeds-testingSomeone else please confirm this bug and it will be fixed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions