mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 11:59:30 +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 =
|
Set<String> cachedSerials =
|
||||||
_list == null ? {} : List<String>.from(_list).toSet();
|
_list == null ? {} : List<String>.from(_list).toSet();
|
||||||
|
|
||||||
// startNumber is broken currently
|
final startNumber =
|
||||||
final startNumber = 0; // cachedSerials.length;
|
cachedSerials.length - 10; // 10 being some arbitrary buffer
|
||||||
|
|
||||||
final serials = await electrumXClient.getUsedCoinSerials(
|
final serials = await electrumXClient.getUsedCoinSerials(
|
||||||
startNumber: startNumber,
|
startNumber: startNumber,
|
||||||
|
|
Loading…
Reference in a new issue