mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-23 20:36:44 +00:00
if allow unconfirmed, include mempool outputs in balance #2
This commit is contained in:
parent
f2f15208bf
commit
b836774289
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ public class WalletTransactionsEntry extends Entry {
|
|||
|
||||
for(Entry entry : getChildren()) {
|
||||
TransactionEntry transactionEntry = (TransactionEntry)entry;
|
||||
if(transactionEntry.getConfirmations() != 0 || Config.get().isIncludeMempoolChange()) {
|
||||
if(transactionEntry.getConfirmations() != 0 || transactionEntry.getValue() < 0 || Config.get().isIncludeMempoolChange()) {
|
||||
balance += entry.getValue();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue