fix: Tentative fix for transaction history items overlap across wallet types (#1864)

This commit is contained in:
David Adegoke 2024-12-11 20:26:13 +01:00 committed by GitHub
parent 6e8cc9c39e
commit 699f591113
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 21 additions and 5 deletions

View file

@ -34,7 +34,10 @@ abstract class EVMChainTransactionHistoryBase
//! Common methods across all child classes
Future<void> init() async => await _load();
Future<void> init() async {
clear();
await _load();
}
@override
Future<void> save() async {
@ -81,6 +84,7 @@ abstract class EVMChainTransactionHistoryBase
_update(tx);
}
}
print('doneee');
} catch (e) {
log(e.toString());
}