mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-23 20:36:44 +00:00
fix detection of input type on finalizing psbt wallet
This commit is contained in:
parent
1c1f90344f
commit
324540009a
3 changed files with 3 additions and 2 deletions
|
@ -282,6 +282,7 @@ extraJavaModuleInfo {
|
|||
module('jul-to-slf4j-1.7.30.jar', 'org.slf4j.jul.to.slf4j', '1.7.30') {
|
||||
exports('org.slf4j.bridge')
|
||||
requires('java.logging')
|
||||
requires('org.slf4j')
|
||||
}
|
||||
module('jeromq-0.5.0.jar', 'jeromq', '0.5.0') {
|
||||
exports('org.zeromq')
|
||||
|
|
2
drongo
2
drongo
|
@ -1 +1 @@
|
|||
Subproject commit 9d3c02d18440b82cb261a89f372da72dd0f87a1f
|
||||
Subproject commit 107a165fc1db84f80febbe358aaab16b2764a5d5
|
|
@ -48,7 +48,7 @@ public class InputForm extends IndexedTransactionForm {
|
|||
|
||||
public boolean isWalletTxo() {
|
||||
TransactionInput txInput = getTransactionInput();
|
||||
return getSigningWallet() != null && getSigningWallet().getWalletTxos().keySet().stream().anyMatch(ref -> ref.getHash().equals(txInput.getOutpoint().getHash()) && ref.getIndex() == txInput.getOutpoint().getIndex());
|
||||
return getSigningWallet() != null && getSigningWallet().isWalletTxo(txInput);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue