This commit is contained in:
fosse 2023-09-19 15:46:37 -04:00
parent 28a615a0a7
commit 89af3d38cd

View file

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