mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 05:09:22 +00:00
Replace panicking todos with stubs and // TODO
Enables progress.
This commit is contained in:
@@ -10,6 +10,14 @@ pub(crate) struct TendermintSigner {
|
||||
lookup: Vec<Public>,
|
||||
}
|
||||
|
||||
impl TendermintSigner {
|
||||
pub(crate) fn new() -> TendermintSigner {
|
||||
// TODO
|
||||
let keys = Pair::from_string("//Alice", None).unwrap();
|
||||
TendermintSigner { lookup: vec![keys.public()], keys }
|
||||
}
|
||||
}
|
||||
|
||||
impl SignatureScheme for TendermintSigner {
|
||||
type ValidatorId = u16;
|
||||
type Signature = Signature;
|
||||
|
||||
Reference in New Issue
Block a user