From 3aee0acebb4969d617a7d6e285b79c95b6c237ee Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Thu, 3 Mar 2022 08:27:22 +0200 Subject: [PATCH] improve logging on incomplete transaction entries --- .../sparrowwallet/sparrow/wallet/WalletTransactionsEntry.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/wallet/WalletTransactionsEntry.java b/src/main/java/com/sparrowwallet/sparrow/wallet/WalletTransactionsEntry.java index a390027c..c3363fbe 100644 --- a/src/main/java/com/sparrowwallet/sparrow/wallet/WalletTransactionsEntry.java +++ b/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())); } } }