connector
This commit is contained in:
parent
471b1cd8a4
commit
faa8d2a70c
@ -34,8 +34,8 @@ class UTXO():
|
|||||||
self.outs_total = 0
|
self.outs_total = 0
|
||||||
|
|
||||||
def set(self, outpoint, pointer, amount, address):
|
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):
|
def remove(self, outpoint):
|
||||||
del self.cached[outpoint]
|
del self.cached[outpoint]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user