metaverse
metaverse copied to clipboard
JSON RPC format of transaction version and lock_time should be numbers
The version and lock_time of gettx are formatted as strings but they should be numbers. This also affects the list of transactions in the getblock response.
mvs-cli gettx 2a845dfa63a7c20d40dbc4b15c3e970ef36332b367500fd89307053cb4c1a2c1
{
"hash" : "2a845dfa63a7c20d40dbc4b15c3e970ef36332b367500fd89307053cb4c1a2c1",
"height" : 0,
"inputs" :
[
...
],
"lock_time" : "0", <-----------
"outputs" :
[
...
],
"version" : "0" <-----------
}