Skip to content

Commit 57d9cf2

Browse files
authored
Change JSON to JSONbig
In function `futuresSubscribeSingle` error while big `orderId`. Change it to `JSONbig`
1 parent 0d0a4cd commit 57d9cf2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

node-binance-api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ let api = function Binance( options = {} ) {
906906
ws.on( 'close', handleFuturesSocketClose.bind( ws, params.reconnect ) );
907907
ws.on( 'message', data => {
908908
try {
909-
callback( JSON.parse( data ) );
909+
callback( JSONbig.parse( data ) );
910910
} catch ( error ) {
911911
Binance.options.log( 'Parse error: ' + error.message );
912912
}

0 commit comments

Comments
 (0)