mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 12:29:51 +00:00
fix: Tentative fix for transaction history items overlap across wallet types (#1864)
This commit is contained in:
parent
6e8cc9c39e
commit
699f591113
5 changed files with 21 additions and 5 deletions
|
@ -31,7 +31,10 @@ abstract class ElectrumTransactionHistoryBase
|
|||
String _password;
|
||||
int _height;
|
||||
|
||||
Future<void> init() async => await _load();
|
||||
Future<void> init() async {
|
||||
clear();
|
||||
await _load();
|
||||
}
|
||||
|
||||
@override
|
||||
void addOne(ElectrumTransactionInfo transaction) => transactions[transaction.id] = transaction;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue