youwallet / wallet

🚀 基于Flutter开发的跨终端数字货币交易所✨
https://youwallet.github.io/
116 stars 55 forks source link

【报错】invalid argument 0: json: cannot unmarshal hex string of odd length into Go struct field CallArgs.data of type hexutil.Bytes #58

Closed zhaobinglong closed 4 years ago

zhaobinglong commented 4 years ago

flutter: {"jsonrpc":"2.0","id":1579423259242,"error":{"code":-32602,"message":"invalid argument 0: json: cannot unmarshal hex string of odd length into Go struct field CallArgs.data of type hexutil.Bytes"}}

zhaobinglong commented 4 years ago

原因:16进制的数据长度不符合要求