re enable caching of used coin serials

This commit is contained in:
julian 2023-07-28 13:57:26 -06:00
parent 2d0e1bced8
commit 3900bb587a

View file

@ -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,