Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
canguruhh opened this issue May 7, 2020 · 0 comments
Open

Comments

@canguruhh
Copy link
Member

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" <-----------
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant