From 78a08ec1e6b899e4faa06ba3b773aa47f40e805b Mon Sep 17 00:00:00 2001 From: Age Manning Date: Thu, 30 Apr 2020 15:33:53 +1000 Subject: [PATCH] Remove padding from gossipsub ids (#1083) --- beacon_node/eth2-libp2p/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_node/eth2-libp2p/src/config.rs b/beacon_node/eth2-libp2p/src/config.rs index 41395cef9..7a5182baf 100644 --- a/beacon_node/eth2-libp2p/src/config.rs +++ b/beacon_node/eth2-libp2p/src/config.rs @@ -92,7 +92,7 @@ impl Default for Config { let gossip_message_id = |message: &GossipsubMessage| { MessageId(base64::encode_config( &Sha256::digest(&message.data), - base64::URL_SAFE, + base64::URL_SAFE_NO_PAD, )) };