mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-12-26 01:56:44 +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) {
|
if(anyoneCanPay) {
|
||||||
getInputs().get(inputIndex).getOutpoint().bitcoinSerializeToStream(bos);
|
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);
|
byteArraySerialize(spentUtxos.get(inputIndex).getScriptBytes(), bos);
|
||||||
Utils.uint32ToByteStreamLE(getInputs().get(inputIndex).getSequenceNumber(), bos);
|
Utils.uint32ToByteStreamLE(getInputs().get(inputIndex).getSequenceNumber(), bos);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue