mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-19 05:48:31 +00:00
Update SecretKey to 32 bytes (#1072)
* Update SecretKey to 32 bytes Signed-off-by: Kirk Baird <baird.k@outlook.com> * Stop test from padding to 48 bytes Signed-off-by: Kirk Baird <baird.k@outlook.com> * Fix keypair file secret key length Signed-off-by: Kirk Baird <baird.k@outlook.com>
This commit is contained in:
@@ -27,7 +27,7 @@ use std::convert::TryInto;
|
||||
use std::fs::File;
|
||||
use std::path::PathBuf;
|
||||
|
||||
pub const PRIVATE_KEY_BYTES: usize = 48;
|
||||
pub const PRIVATE_KEY_BYTES: usize = 32;
|
||||
pub const PUBLIC_KEY_BYTES: usize = 48;
|
||||
pub const HASH_BYTES: usize = 32;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user