fix #1121: tx.update
This commit is contained in:
parent
e3e5d95794
commit
0503e809d5
|
@ -485,6 +485,10 @@ class Transaction:
|
|||
def __init__(self, raw):
|
||||
self.raw = raw
|
||||
|
||||
def update(self, raw):
|
||||
self.raw = raw
|
||||
self.deserialize()
|
||||
|
||||
def deserialize(self):
|
||||
d = deserialize(self.raw)
|
||||
self.inputs = d['inputs']
|
||||
|
|
Loading…
Reference in New Issue