mpcium icon indicating copy to clipboard operation
mpcium copied to clipboard

Bug: cannot successfully disconnect a node

Open nann-cheng opened this issue 1 year ago • 4 comments

In latest master, you cannot succesfully disconnect a node when ecdh is not yet completed.

Steps to reproduce:

  1. start node0
  2. start node1
  3. close node1

Result: node0 still shows " Peers are not ready yet expected=3 ready=2" and after two minutes, ecdh exchange timeout, node0 closes

nann-cheng avatar Aug 15 '25 08:08 nann-cheng

hi @nann-cheng , do i need to start 3 nodes or just two nodes to reproduce this?

anhthii avatar Aug 15 '25 12:08 anhthii

2 nodes

nann-cheng avatar Aug 15 '25 12:08 nann-cheng

should be fixed in this commit https://github.com/fystack/mpcium/pull/89

anhthii avatar Aug 16 '25 05:08 anhthii

Fixed!

anhthii avatar Aug 22 '25 02:08 anhthii