From d489aa6af9e22e9b707570d9c19ab10aec0d0a28 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Thu, 14 Jul 2022 15:37:48 +0200 Subject: [PATCH] follow up --- src/main/java/com/sparrowwallet/drongo/wallet/WalletNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/drongo/wallet/WalletNode.java b/src/main/java/com/sparrowwallet/drongo/wallet/WalletNode.java index 5e2b502..269e99e 100644 --- a/src/main/java/com/sparrowwallet/drongo/wallet/WalletNode.java +++ b/src/main/java/com/sparrowwallet/drongo/wallet/WalletNode.java @@ -325,7 +325,7 @@ public class WalletNode extends Persistable implements Comparable { copy.setId(getId()); copy.setLabel(label); - for(WalletNode child : new ArrayList<>(getChildren())) { + for(WalletNode child : getChildren()) { copy.children.add(child.copy(walletCopy)); }