Skip to content

JSON RPC format of transaction version and lock_time should be numbers #392

Description

@canguruhh

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" <-----------
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions