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

rpcserver: Add script version to gettxout. #2650

Merged
merged 2 commits into from May 13, 2021

Conversation

JoeGruffins
Copy link
Member

closes #2647

@JoeGruffins
Copy link
Member Author

So, the version was moved from tylpes.GetTxOutResult to types.ScriptPubKeyResult?

Copy link
Member

@davecgh davecgh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the JSON-RPC API docs as well.

@davecgh
Copy link
Member

davecgh commented May 10, 2021

So, the version was moved from tylpes.GetTxOutResult to types.ScriptPubKeyResult?

Not really. They're different. The version that existed on types.GetTxOutResult was the transaction version, whereas this the script version.

@JoeGruffins
Copy link
Member Author

gettxoutreturns

docs/json_rpc_api.mediawiki Show resolved Hide resolved
@davecgh davecgh merged commit f993444 into decred:master May 13, 2021
@davecgh davecgh added this to the 1.7.0 milestone May 13, 2021
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

Successfully merging this pull request may close these issues.

rpcserver: Add Version field to gettxout.scriptPubKey results.
3 participants