mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-07 20:53:55 -05:00
Fix bug in random bit generation.
This commit is contained in:
@@ -48,7 +48,7 @@ public:
|
||||
void buffer_bits()
|
||||
{
|
||||
SeededPRNG G;
|
||||
if (P->my_num() != 0)
|
||||
if (not DealerInput<DealerSecret>(*P).is_dealer())
|
||||
for (int i = 0; i < OnlineOptions::singleton.batch_size; i++)
|
||||
this->bits.push_back(G.get_bit());
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user