Browse Source

improve logging on incomplete transaction entries

terminal
Craig Raw 3 years ago
parent
commit
3aee0acebb
  1. 3
      src/main/java/com/sparrowwallet/sparrow/wallet/WalletTransactionsEntry.java

3
src/main/java/com/sparrowwallet/sparrow/wallet/WalletTransactionsEntry.java

@ -93,7 +93,8 @@ public class WalletTransactionsEntry extends Entry {
for(Entry entry : entriesAdded) {
TransactionEntry txEntry = (TransactionEntry)entry;
getChildren().remove(txEntry);
log.warn("Removing and not notifying incomplete entry " + ((TransactionEntry)entry).getBlockTransaction().getHashAsString() + " value " + txEntry.getValue());
log.warn("Removing and not notifying incomplete entry " + ((TransactionEntry)entry).getBlockTransaction().getHashAsString() + " value " + txEntry.getValue()
+ " children " + entry.getChildren().stream().map(e -> e.getEntryType() + " " + ((HashIndexEntry)e).getHashIndex()).collect(Collectors.toList()));
}
}
}

Loading…
Cancel
Save