Closed tomicvladan closed 1 year ago
On testnet, if there is no sufficient funds to create an account, gateway returns a similar object:
{"jsonrpc":"2.0","error":{"code":-32010,"message":"OldNonce, Current nonce: 48, nonce of rejected tx: 45"},"id":55}
The library doesn't handle this error properly, so instead it throws the following error: "undefined" is not valid JSON
"undefined" is not valid JSON
On testnet, if there is no sufficient funds to create an account, gateway returns a similar object:
The library doesn't handle this error properly, so instead it throws the following error:
"undefined" is not valid JSON