mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-12-25 01:26:45 +00:00
fix taproot signature hash for single | anyonecanpay
This commit is contained in:
parent
0002d6bae6
commit
22e70fd8e5
1 changed files with 1 additions and 1 deletions
|
@ -685,7 +685,7 @@ public class Transaction extends ChildMessage {
|
|||
|
||||
if(anyoneCanPay) {
|
||||
getInputs().get(inputIndex).getOutpoint().bitcoinSerializeToStream(bos);
|
||||
Utils.uint32ToByteStreamLE(spentUtxos.get(inputIndex).getValue(), bos);
|
||||
Utils.int64ToByteStreamLE(spentUtxos.get(inputIndex).getValue(), bos);
|
||||
byteArraySerialize(spentUtxos.get(inputIndex).getScriptBytes(), bos);
|
||||
Utils.uint32ToByteStreamLE(getInputs().get(inputIndex).getSequenceNumber(), bos);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue