Make Informer::stats() encode 0 instead of receive
@@ -229,7 +229,8 @@ impl<F: Fancy + FancyInput<Item = <F as Fancy>::Item, Error = <F as Fancy>::Erro
self.stats
.garbler_input_moduli
.extend(moduli.iter().cloned());
- self.underlying.receive_many(moduli)
+ let values = vec![0; moduli.len()];
+ self.underlying.encode_many(&values, moduli)
}
fn encode_many(
