Browse Source

fix history command

master
ThomasV 11 years ago
parent
commit
7316f613d6
  1. 2
      lib/commands.py

2
lib/commands.py

@ -343,7 +343,7 @@ class Commands:
balance = 0 balance = 0
out = [] out = []
for item in self.wallet.get_history(): for item in self.wallet.get_history():
tx_hash, conf, is_mine, value, fee, balance, timestamp = item tx_hash, conf, value, timestamp, balance = item
try: try:
time_str = datetime.datetime.fromtimestamp( timestamp).isoformat(' ')[:-3] time_str = datetime.datetime.fromtimestamp( timestamp).isoformat(' ')[:-3]
except Exception: except Exception:

Loading…
Cancel
Save