fedimint / ui

https://ui-umber-ten.vercel.app
MIT License
26 stars 39 forks source link

Refreshing the setup leader kicks off DKG as solo or with any connected guardians #385

Closed Kodylow closed 5 months ago

Kodylow commented 6 months ago

Bug reported by bullmoose in fedimint discord and I replicated locally. If you hit refresh on the setup leader while you're waiting for the other guardians to connect to its websocket link then on refresh it loads as numPeers = 1 (just itself) so calls next() immediately. have to persist guardians and some other state through the refresh, and should also confirm that it's selected Solo not just that numPeers = 1