[bug] FaucetMessage commitment is 32B long

This commit is contained in:
Sosthene 2024-08-13 15:04:59 +02:00 committed by Nicolas Cantu
parent 3ce6751ad2
commit 22407bbb51

View File

@ -73,7 +73,7 @@ pub struct FaucetMessage {
impl FaucetMessage { impl FaucetMessage {
pub fn new(sp_address: String) -> Self { pub fn new(sp_address: String) -> Self {
let mut buf = [0u8; 64]; let mut buf = [0u8; 32];
thread_rng().fill_bytes(&mut buf); thread_rng().fill_bytes(&mut buf);
Self { Self {
sp_address, sp_address,