[bug] FaucetMessage commitment is 32B long
This commit is contained in:
parent
38fa6e6239
commit
d61b210dda
@ -73,7 +73,7 @@ pub struct FaucetMessage {
|
||||
|
||||
impl FaucetMessage {
|
||||
pub fn new(sp_address: String) -> Self {
|
||||
let mut buf = [0u8; 64];
|
||||
let mut buf = [0u8; 32];
|
||||
thread_rng().fill_bytes(&mut buf);
|
||||
Self {
|
||||
sp_address,
|
||||
|
Loading…
x
Reference in New Issue
Block a user