fix #1121: tx.update

This commit is contained in:
ThomasV 2015-04-01 07:57:59 +02:00
parent e3e5d95794
commit 0503e809d5
1 changed files with 4 additions and 0 deletions

View File

@ -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']