ensure finalizing psbt wallet purpose nodes have no children

This commit is contained in:
Craig Raw 2022-08-22 11:32:45 +02:00
parent 8cdea77562
commit aa459d0084

View file

@ -64,6 +64,9 @@ public class FinalizingPSBTWallet extends Wallet {
}
}
setGapLimit(0);
purposeNode.setChildren(new TreeSet<>());
setPolicyType(numSignatures == 1 ? PolicyType.SINGLE : PolicyType.MULTI);
}