1
0

move get_status to synchronizer

This commit is contained in:
ThomasV
2016-05-30 16:11:49 +02:00
parent 6322714222
commit 076ecb2680
2 changed files with 11 additions and 10 deletions

View File

@@ -713,14 +713,6 @@ class Abstract_Wallet(PrintError):
with self.lock:
return self.history.get(address, [])
def get_status(self, h):
if not h:
return None
status = ''
for tx_hash, height in h:
status += tx_hash + ':%d:' % height
return hashlib.sha256( status ).digest().encode('hex')
def find_pay_to_pubkey_address(self, prevout_hash, prevout_n):
dd = self.txo.get(prevout_hash, {})
for addr, l in dd.items():