From d4ac9c5bf8574bc21d3f4384f1a51ed195ba5638 Mon Sep 17 00:00:00 2001 From: 4tochka Date: Sun, 12 May 2019 20:59:07 +0400 Subject: [PATCH] connector --- pybtc/_lru/lru.c | 2 +- pybtc/connector/utxo.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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