mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 09:47:37 +00:00
simply closing cache boxes won't play nice with concurrency so we'll need to settle on just opening them as needed
This commit is contained in:
parent
b7b43e3380
commit
a509dc40ea
1 changed files with 0 additions and 6 deletions
|
@ -103,8 +103,6 @@ class CachedElectrumX {
|
||||||
"Failed to process CachedElectrumX.getAnonymitySet(): $e\n$s",
|
"Failed to process CachedElectrumX.getAnonymitySet(): $e\n$s",
|
||||||
level: LogLevel.Error);
|
level: LogLevel.Error);
|
||||||
rethrow;
|
rethrow;
|
||||||
} finally {
|
|
||||||
await DB.instance.closeAnonymitySetCacheBox(coin: coin);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -154,8 +152,6 @@ class CachedElectrumX {
|
||||||
"Failed to process CachedElectrumX.getTransaction(): $e\n$s",
|
"Failed to process CachedElectrumX.getTransaction(): $e\n$s",
|
||||||
level: LogLevel.Error);
|
level: LogLevel.Error);
|
||||||
rethrow;
|
rethrow;
|
||||||
} finally {
|
|
||||||
await DB.instance.closeTxCacheBox(coin: coin);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -197,8 +193,6 @@ class CachedElectrumX {
|
||||||
"Failed to process CachedElectrumX.getTransaction(): $e\n$s",
|
"Failed to process CachedElectrumX.getTransaction(): $e\n$s",
|
||||||
level: LogLevel.Error);
|
level: LogLevel.Error);
|
||||||
rethrow;
|
rethrow;
|
||||||
} finally {
|
|
||||||
await DB.instance.closeUsedSerialsCacheBox(coin: coin);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue