From 55717c31bf8046e558ee90a5997c1de769517813 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Sun, 30 Aug 2020 11:14:48 +0200 Subject: [PATCH] copy stored height --- src/main/java/com/sparrowwallet/drongo/wallet/Wallet.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/sparrowwallet/drongo/wallet/Wallet.java b/src/main/java/com/sparrowwallet/drongo/wallet/Wallet.java index 273cdd5..ecdd6d6 100644 --- a/src/main/java/com/sparrowwallet/drongo/wallet/Wallet.java +++ b/src/main/java/com/sparrowwallet/drongo/wallet/Wallet.java @@ -840,6 +840,7 @@ public class Wallet { for(Sha256Hash hash : transactions.keySet()) { copy.transactions.put(hash, transactions.get(hash)); } + copy.setStoredBlockHeight(getStoredBlockHeight()); return copy; }