fix history command

This commit is contained in:
ThomasV 2015-04-28 08:58:33 +02:00
parent 77648c284f
commit 7316f613d6

View file

@ -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: