Skip to content

Commit 27a337d

Browse files
author
neocogent
committed
revert not is None for unspent, duh
1 parent 6838c1d commit 27a337d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/blockscan.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
for vout in tx['vout']:
2727
reward += vout['value']
2828
utxo = rpc.gettxout(tx['txid'], vout['n'])
29-
if utxo is None:
29+
if not utxo is None:
3030
unspent += vout['value']
3131
if 'fee' in tx:
3232
fee += tx['fee']

0 commit comments

Comments
 (0)