From: ThomasV Date: Mon, 25 Jun 2012 20:07:19 +0000 (+0400) Subject: fix order so that the cache always works X-Git-Url: https://git.novaco.in/?p=electrum-server.git;a=commitdiff_plain;h=bc0d08087a2e4e5f6e83020dfb3db0d1523c3273 fix order so that the cache always works --- diff --git a/backends/abe/__init__.py b/backends/abe/__init__.py index 7584fd5..c143f42 100644 --- a/backends/abe/__init__.py +++ b/backends/abe/__init__.py @@ -282,14 +282,13 @@ class AbeStore(Datastore_class): if tx_hash in known_tx: continue - # this means that pending transactions were added to the db, even if they are not returned by getmemorypool - address_has_mempool = True - # discard transactions that are too old if self.last_tx_id - tx_id > 10000: print "discarding tx id", tx_id continue + # this means that pending transactions were added to the db, even if they are not returned by getmemorypool + address_has_mempool = True #print "mempool", tx_hash txpoint = {