Add RPC protocol to lh network behaviour.

This commit is contained in:
Age Manning
2019-03-15 02:48:09 +11:00
parent 24c7f180e2
commit 7b6a653d05
3 changed files with 40 additions and 5 deletions

View File

@@ -158,6 +158,7 @@ impl Encodable for RpcEvent {
}
}
#[derive(Debug)]
pub enum DecodeError {
ReadError(upgrade::ReadOneError),
SSZDecodeError(ssz::DecodeError),