near / near-jsonrpc-client-rs

Lower-level API for interfacing with the NEAR Protocol via JSONRPC.
https://docs.rs/near-jsonrpc-client
Apache License 2.0
46 stars 42 forks source link

&RpcMethod response handling should match RpcMethod's #114

Closed miraclx closed 1 year ago

miraclx commented 1 year ago

Small nit, but the client was parsing &RpcMethod's responses differently from RpcMethods.

Leading to the data did not match any variant of untagged enum QueryResponseKind error when you run client.call(&method) but not when you run client.call(method).