electrum

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

commit 5f4a28a2bb36a8b9bbda55614a2f4d2e22ca0402
parent f183554446b2a9fba501b1ba3756b0f09e0d1b30
Author: ThomasV <thomasv@gitorious>
Date:   Thu, 28 Aug 2014 22:26:40 +0200

fix signature_count in coinbase transactions

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

diff --git a/lib/transaction.py b/lib/transaction.py @@ -674,6 +674,8 @@ class Transaction: r = 0 s = 0 for txin in self.inputs: + if txin.get('is_coinbase'): + continue signatures = filter(lambda x: x is not None, txin['signatures']) s += len(signatures) r += txin['num_sig']