From 89af3d38cddb11670089275880c2e17c5610b40f Mon Sep 17 00:00:00 2001
From: fosse <matt.cfosse@gmail.com>
Date: Tue, 19 Sep 2023 15:46:37 -0400
Subject: [PATCH] fix pt.2

---
 cw_bitcoin/lib/bitcoin_wallet_service.dart | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/cw_bitcoin/lib/bitcoin_wallet_service.dart b/cw_bitcoin/lib/bitcoin_wallet_service.dart
index 3eb5af312..1bcb1fed6 100644
--- a/cw_bitcoin/lib/bitcoin_wallet_service.dart
+++ b/cw_bitcoin/lib/bitcoin_wallet_service.dart
@@ -194,11 +194,11 @@ class BitcoinWalletService extends WalletService<BitcoinNewWalletCredentials,
           final history = await electrumClient.getHistory(sh);
 
           final balance = await electrumClient.getBalance(sh);
-          dInfo.balance = balance.entries.first.value.toString();
-          dInfo.address = address;
-          dInfo.height = history.length;
+          dInfoCopy.balance = balance.entries.first.value.toString();
+          dInfoCopy.address = address;
+          dInfoCopy.height = history.length;
 
-          list.add(dInfo);
+          list.add(dInfoCopy);
         } catch (e) {
           print(e);
         }