cashshuffle / cashshuffle-electron-cash-plugin

Electron cash cash-shuffle plugin
27 stars 13 forks source link

ValueError: Same public keys appears! #22

Closed ifol closed 6 years ago

ifol commented 6 years ago

Hi, I've got this error after clicking on Shuffle button:

<ssl.SSLSocket fd=26, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 0)>
Exception in thread Thread-19:
Traceback (most recent call last):
  File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "[...]/Electron Cash-3.1.2/plugins/shuffle/client.py", line 118, in run
    self.change)
  File "[...]/Electron Cash-3.1.2/plugins/shuffle/coin_shuffle.py", line 55, in __init__
    raise ValueError('Same public keys appears!')
ValueError: Same public keys appears!

In Electron Cash console I see:

Console output go here
Player 3 get session number.

Player 3 is about to share verification key with 3 players.

Player 3 get 3.

Nothing after that so far.

clifordsymack commented 6 years ago

@ifol Looks like you play with yourself in shuffle round. This should not appear basically. Will check it

ifol commented 6 years ago

May be, because I shut down Electron a tried another shuffle, probably the session did not timeout on the server yet. That's why a CANCEL button is needed.

clifordsymack commented 6 years ago

We add cancel button. Should not behave that way now.