Sync chainqueue state store on get

This commit is contained in:
lash 2022-04-27 06:23:58 +00:00
parent 57191ea378
commit ccbbcc2157
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ class Store:
s = self.index_store.get(k)
except FileNotFoundError:
raise NotLocalTxError(k)
self.state_store.sync()
v = self.state_store.get(s)
return (s, v,)