Sync chainqueue state store on get
This commit is contained in:
parent
57191ea378
commit
ccbbcc2157
@ -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,)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user