diff --git a/pybtc/_lru/lru.c b/pybtc/_lru/lru.c index 339dfb2..59035e8 100644 --- a/pybtc/_lru/lru.c +++ b/pybtc/_lru/lru.c @@ -558,7 +558,7 @@ static PyMethodDef LRU_methods[] = { PyDoc_STR("L.pop() -> returns the LRU item (key,value) without changing key order")}, {"update", (PyCFunction)LRU_update, METH_VARARGS | METH_KEYWORDS, PyDoc_STR("L.update() -> update value for key in LRU")}, - {"put", (PyCFunction)LRU_append, METH_VARARGS | METH_KEYWORDS, + {"put", (PyCFunction)LRU_put, METH_VARARGS | METH_KEYWORDS, PyDoc_STR("L.append() -> append value for key in LRU")}, {"append", (PyCFunction)LRU_append, METH_VARARGS | METH_KEYWORDS, PyDoc_STR("L.append() -> append value for key in LRU")}, diff --git a/pybtc/connector/utxo.py b/pybtc/connector/utxo.py index 13f2c53..e6dcc77 100644 --- a/pybtc/connector/utxo.py +++ b/pybtc/connector/utxo.py @@ -57,8 +57,6 @@ class UTXO(): async def save_utxo(self): # save to db tail from cache - self.log.critical("save utxo>>>>") - return if self.save_process or not self.cached: return self.save_process = True