Stub function for pubkey message
use std::io::Write;
use std::net::TcpStream;
use std::sync::Arc;
-use types::TendermintSign;
+use types::{TendermintSign,PubKeyMsg};
use ed25519::{Keyring, PublicKey};
use failure::Error;
@@ -57,5 +57,7 @@ impl Session {
fn sign(&mut self, request: impl TendermintSign) -> Result<Response, Error> {
unimplemented!()
}
- fn
+ fn getPubKey(&mut self, request:PubKeyMsg ) -> Response{
+ unimplemented!()
+ }
}
