mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Support trailing commas in create_db
This commit is contained in:
@@ -25,7 +25,7 @@ use crate::{Get, DbTxn, create_db};
|
||||
create_db! {
|
||||
CosignerDb {
|
||||
Completed: (id: [u8; 32]) -> (),
|
||||
Attempt: (id: [u8; 32], attempt: u32) -> ()
|
||||
Attempt: (id: [u8; 32], attempt: u32) -> (),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ create_db!(
|
||||
// These do assume a key is only used once across sets, which holds true so long as a single
|
||||
// participant is honest in their execution of the protocol
|
||||
KeysDb: (network_key: &[u8]) -> Vec<u8>,
|
||||
NetworkKey: (substrate_key: [u8; 32]) -> Vec<u8>
|
||||
NetworkKey: (substrate_key: [u8; 32]) -> Vec<u8>,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user