mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-01 01:35:20 +00:00
fix: is_input
This commit is contained in:
parent
b3fd4a2832
commit
235e3756c5
1 changed files with 1 additions and 1 deletions
2
electrum
2
electrum
|
@ -288,7 +288,7 @@ if __name__ == '__main__':
|
||||||
h = wallet.history.get(addr,[])
|
h = wallet.history.get(addr,[])
|
||||||
ni = no = 0
|
ni = no = 0
|
||||||
for item in h:
|
for item in h:
|
||||||
if item['is_in']: ni += 1
|
if item['is_input']: ni += 1
|
||||||
else: no += 1
|
else: no += 1
|
||||||
b = "%d %d %s"%(no, ni, str(Decimal(wallet.get_addr_balance(addr)[0])/100000000))
|
b = "%d %d %s"%(no, ni, str(Decimal(wallet.get_addr_balance(addr)[0])/100000000))
|
||||||
else: b=''
|
else: b=''
|
||||||
|
|
Loading…
Add table
Reference in a new issue