forked from Qortal/qortal
WIP: trade-bot: fix empty bitcoin wallet edge case when finding UTXOs
This commit is contained in:
parent
25bf315e23
commit
91518464c2
@ -293,6 +293,9 @@ public class BTC {
|
||||
// Fully spent key - case (a)
|
||||
btc.spentKeys.add(key);
|
||||
wallet.getActiveKeyChain().markKeyAsUsed((DeterministicKey) key);
|
||||
} else {
|
||||
// Key never been used - case (b)
|
||||
areAllKeysSpent = false;
|
||||
}
|
||||
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user