clifordsymack / Electron-Cash

Electrum; Bitcoin thin client
MIT License
6 stars 3 forks source link

exception during shuffle #112

Closed markblundeberg closed 5 years ago

markblundeberg commented 5 years ago

on latest master:

Traceback (most recent call last):
  File "/home/mark/git/shuffle/plugins/shuffle/qt.py", line 316, in _got_tx
    _got_tx_check_tentative_shuffles(window, tx)  # check for workaround to bug#70
  File "/home/mark/git/shuffle/plugins/shuffle/qt.py", line 249, in _got_tx_check_tentative_shuffles
    if CoinUtils.is_coin_shuffled(window.wallet, {'prevout_hash':txid, 'prevout_n':n}, {txid: tx}):
  File "/home/mark/git/shuffle/plugins/shuffle/coin_utils.py", line 416, in is_coin_shuffled
    getattr(wallet, "_shuffled_address_cache", set()).add(coin['address'])
KeyError: 'address'
emergent-reasons commented 5 years ago

Same for me. Also seems to have resulted in an empty description in the history.

cculianu commented 5 years ago

Thanks guys. I introduced this new bug -- and I fixed it in latest git head.

Sorry and thanks for reporting!