[Android] Unlock script hash is incorrect after btc signature #1375
Unanswered
YaakovHuang
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Is this the same as #1365 ? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
Unlock script hash is incorrect after bitcoin signature
I am going to send a transaction from the P2PKH address to the Bech32 address, but the hash of the unlocking script is incorrect.
the binary data:

0100000001c99132ca7633cfe7a2f4123c11b547f7c64f3e08308160d30e16ba8d2f893259000000006a47304402206c4b600c7251a8ab26e13ad6c9d4a0ba8e479582946f37c990e986ca57d8877c0220363778d7487a7b06a37fabe8d8b3f8a79babcbd57bd65d09c83d788037f7e1bd0121036740c4f55d64fb6c9bc412084638b80062cee07f6c84b205671584e82a7c96b7ffffffff012b03000000000000160014c64802da3cc8fdb503ba124a288cd211ba5a5a8100000000
the correct result:

https://api.blockcypher.com/v1/btc/main/txs/7a0946bfc5ea4872c3018c0fd24033cd4e4ad02a3753c5c7ae9a79ce1e6689f8
Beta Was this translation helpful? Give feedback.
All reactions