mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-25 04:57:17 +00:00
Remove padding from gossipsub ids (#1083)
This commit is contained in:
parent
18ca94dc29
commit
78a08ec1e6
@ -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,
|
||||
))
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user