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

View File

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