electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 0503e809d5183e40d807e39755c58e627c3c23c9
parent e3e5d9579476c30da01b79b2e0dc28d2a24727c0
Author: ThomasV <thomasv@gitorious>
Date:   Wed,  1 Apr 2015 07:57:59 +0200

fix #1121: tx.update

Diffstat:
Mlib/transaction.py | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/lib/transaction.py b/lib/transaction.py @@ -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']