fedimint / ui

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

fix: set numPeers correctly #386

Closed Kodylow closed 5 months ago

Kodylow commented 6 months ago

fixes https://github.com/fedimint/ui/issues/385

We weren't properly loading the state from localStorage, and we were setting numPeers from connected Peers not from stateNumPeers. This lets the setup leader refresh and maintain state and connections to peers, and doesn't kick to DKG immediately on refresh.