From c93b1ed8ce5e913dd8f6aaf0d5b543fd6d4c3622 Mon Sep 17 00:00:00 2001 From: Tamas Blummer Date: Tue, 3 Sep 2019 19:59:48 +0200 Subject: [PATCH] add reverse mapping --- src/network/message.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/network/message.rs b/src/network/message.rs index 52c3e363..2e25206d 100644 --- a/src/network/message.rs +++ b/src/network/message.rs @@ -279,6 +279,7 @@ impl Decodable for RawNetworkMessage { "cfheaders" => NetworkMessage::CFHeaders(Decodable::consensus_decode(&mut mem_d)?), "getcfckpt" => NetworkMessage::GetCFCheckpt(Decodable::consensus_decode(&mut mem_d)?), "cfcheckpt" => NetworkMessage::CFCheckpt(Decodable::consensus_decode(&mut mem_d)?), + "reject" => NetworkMessage::Reject(Decodable::consensus_decode(&mut mem_d)?), "alert" => NetworkMessage::Alert(Decodable::consensus_decode(&mut mem_d)?), _ => return Err(encode::Error::UnrecognizedNetworkCommand(cmd)), };