Replace panicking todos with stubs and // TODO

Enables progress.
This commit is contained in:
Luke Parker
2022-10-21 21:14:05 -04:00
parent 5019f4cb65
commit 422f7e3e2f
3 changed files with 29 additions and 9 deletions

View File

@@ -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;