Open theghostmac opened 6 months ago
@gagliardetto right now there's no rpc error handling, would be great to have this. As an example, error that I was running into;
{"jsonrpc":"2.0","error":{"code":-32600,"message":"Batch size too large for calls using account indexes. Limit is 10"}}
Changelog:
getJsonRpcError
function inclient.go
to handle errors forhandleMessage
c
(My IDE automatically fixed that, and undo was difficult).