privacy-scaling-explorations / mpz

Multi-party computation libraries written in Rust 🦀
215 stars 44 forks source link

fix(mpz-common): flush io in syncer #157

Closed sinui0 closed 5 months ago

sinui0 commented 5 months ago

This PR fixes a bug in the syncers. The leader must flush the io before returning, otherwise it deadlocks. Also, the leader should be sending the ticket before executing the function/future.