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

server/asset/btc: deserialize grt hex into btcutil.Tx #1239

Merged
merged 3 commits into from
Oct 26, 2021

Conversation

chappjc
Copy link
Member

@chappjc chappjc commented Oct 19, 2021

This fixes server/asset/btc.(*RPCClient).GetRawTransaction so that it unmarshals the raw tx hex into a string and then deserializes into a btcutil.Tx.

This fixes match_status request handling for requests that require retrieving "tx data" for a BTC swap transaction.

MUST be cherry-picked onto release-v0.3

@chappjc chappjc added this to the 0.3 milestone Oct 19, 2021
server/asset/btc/live_test.go Show resolved Hide resolved
@chappjc chappjc merged commit 15f66bc into decred:master Oct 26, 2021
@chappjc chappjc deleted the btc-srv-grt branch October 26, 2021 01:45
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.

3 participants