mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
fixed bug: failed command `history
if
wallet.get_tx_history()
` is empty
This commit is contained in:
parent
b4bb3c7449
commit
a498ed979b
1 changed files with 1 additions and 0 deletions
1
electrum
1
electrum
|
@ -563,6 +563,7 @@ if __name__ == '__main__':
|
|||
|
||||
if cmd == 'history':
|
||||
import datetime
|
||||
balance = 0
|
||||
for item in wallet.get_tx_history():
|
||||
tx_hash, conf, is_mine, value, fee, balance, timestamp = item
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue