mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-12-26 01:56:44 +00:00
ensure finalizing psbt wallet purpose nodes have no children
This commit is contained in:
parent
8cdea77562
commit
aa459d0084
1 changed files with 3 additions and 0 deletions
|
@ -64,6 +64,9 @@ public class FinalizingPSBTWallet extends Wallet {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setGapLimit(0);
|
||||||
|
purposeNode.setChildren(new TreeSet<>());
|
||||||
|
|
||||||
setPolicyType(numSignatures == 1 ? PolicyType.SINGLE : PolicyType.MULTI);
|
setPolicyType(numSignatures == 1 ? PolicyType.SINGLE : PolicyType.MULTI);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue