tfix tx strip - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 93b674982e03b24d90ac36c6c1f986c81b9440b9 DIR parent 064f0b71e27967f6f956e7869940450a6e5fd5b6 HTML Author: ThomasV <thomasv@gitorious> Date: Tue, 18 Aug 2015 16:33:51 +0200 fix tx strip Diffstat: M lib/transaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/transaction.py b/lib/transaction.py t@@ -481,7 +481,7 @@ class Transaction: return self.raw def __init__(self, raw): - self.raw = raw.strip() + self.raw = raw.strip() if raw else None self.inputs = None def update(self, raw):