mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 03:49:22 +00:00
re enable caching of used coin serials
This commit is contained in:
parent
2d0e1bced8
commit
3900bb587a
1 changed files with 2 additions and 2 deletions
|
@ -167,8 +167,8 @@ class CachedElectrumX {
|
|||
Set<String> cachedSerials =
|
||||
_list == null ? {} : List<String>.from(_list).toSet();
|
||||
|
||||
// startNumber is broken currently
|
||||
final startNumber = 0; // cachedSerials.length;
|
||||
final startNumber =
|
||||
cachedSerials.length - 10; // 10 being some arbitrary buffer
|
||||
|
||||
final serials = await electrumXClient.getUsedCoinSerials(
|
||||
startNumber: startNumber,
|
||||
|
|
Loading…
Reference in a new issue