WIP crossroads on hex vs bytes interpretation

This commit is contained in:
lash
2022-03-12 14:12:02 +00:00
parent 0c9b42d086
commit e457275128
4 changed files with 68 additions and 49 deletions

View File

@@ -36,8 +36,10 @@ class Store:
for v in ['state', 'change', 'set', 'unset']:
setattr(self, v, getattr(self.state_store, v))
logg.debug('cache {}'.format(cache))
def put(self, k, v, cache_adapter=CacheTx()):
def put(self, k, v, cache_adapter=CacheTx):
n = self.counter.next()
t = datetime.datetime.now().timestamp()
s = to_key(t, n, k)