At https://github.com/TNO-MPC/protocols.distributed_keygen/blob/main/src/tno/mpc/protocols/distributed_keygen/distributed_keygen.py#L1231, in Class DistributedPaillier class function compute_modulus .

Should it be shares.p = Shares.P(p_additive[i], prime_candidate_p[i].get_shares()) instead? To replace prime_candidate_q[i].get_share()