Cw 498 improve wallet accounts (#1152)

* CW-498 Call updateTransactions on account change

* CW-498 Code Cleanup

* CW-498 Add Wallet Address to trade to match transactions to trades

* CW-498 Fix containsAddress to include only addresses of account

* Handle nullability for fromWalletAddress

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
This commit is contained in:
Konstantin Ullrich
2023-11-02 17:52:47 +02:00
committed by GitHub
co-authored by OmarHatem
parent 5bd382f186
commit e5d99313eb
13 changed files with 206 additions and 230 deletions
+3 -1
View File
@@ -36,4 +36,6 @@ abstract class WalletAddresses {
print(e.toString());
}
}
}
bool containsAddress(String address) => addressesMap.containsKey(address);
}