connector

This commit is contained in:
4tochka 2019-05-12 19:28:41 +04:00
parent 471b1cd8a4
commit faa8d2a70c

View File

@ -34,8 +34,8 @@ class UTXO():
self.outs_total = 0
def set(self, outpoint, pointer, amount, address):
self.cached.put({outpoint: (pointer, amount, address)})
# self.cached.put({outpoint: (pointer, amount, address)})
self.cached[outpoint] = (pointer, amount, address)
def remove(self, outpoint):
del self.cached[outpoint]