git://git.novaco.in
/
electrum-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
b5ad7b9
)
do not add output if it does not have an address (coinbase)
author
ThomasV
<thomasv@gitorious>
Mon, 19 Nov 2012 15:44:12 +0000 (19:44 +0400)
committer
ThomasV
<thomasv@gitorious>
Mon, 19 Nov 2012 15:44:12 +0000 (19:44 +0400)
backends/bitcoind/deserialize.py
patch
|
blob
|
history
diff --git
a/backends/bitcoind/deserialize.py
b/backends/bitcoind/deserialize.py
index
395e152
..
613fa7c
100644
(file)
--- a/
backends/bitcoind/deserialize.py
+++ b/
backends/bitcoind/deserialize.py
@@
-289,7
+289,7
@@
def parse_Transaction(vds, is_coinbase):
d['outputs'] = []
for i in xrange(n_vout):
o = parse_TxOut(vds, i)
- if o['address'] is not None:
+ if o['address'] != "(None)":
d['outputs'].append(o)
d['lockTime'] = vds.read_uint32()
return d