improve logging on incomplete transaction entries

This commit is contained in:
Craig Raw 2022-03-03 08:27:22 +02:00
parent 78a6ce4237
commit 3aee0acebb

View file

@ -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()));
}
}
}