mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-22 02:34:55 +00:00
Correct the message-queue's handling of var
This commit is contained in:
parent
808a633e4d
commit
712f11d879
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ async fn main() {
|
|||
Arc::new(rocksdb::TransactionDB::open_default(serai_env::var("DB_PATH").unwrap()).unwrap());
|
||||
|
||||
let read_key = |str| {
|
||||
let Ok(key) = serai_env::var(str) else { None? };
|
||||
let key = serai_env::var(str)?;
|
||||
|
||||
let mut repr = <<Ristretto as Ciphersuite>::G as GroupEncoding>::Repr::default();
|
||||
repr.as_mut().copy_from_slice(&hex::decode(key).unwrap());
|
||||
|
|
Loading…
Reference in a new issue