mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-02-02 03:06:35 +00:00
fix pt.2
This commit is contained in:
parent
28a615a0a7
commit
89af3d38cd
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue