From 89be1f5bc8e8667ffa58cc03f28e120401d48c52 Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Mon, 14 Sep 2020 10:57:35 -0600 Subject: [PATCH] favor pythonic notation for array slices --- specs/phase0/p2p-interface.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/phase0/p2p-interface.md b/specs/phase0/p2p-interface.md index 2ad95f54b..daa4e40ff 100644 --- a/specs/phase0/p2p-interface.md +++ b/specs/phase0/p2p-interface.md @@ -246,7 +246,7 @@ Likewise, clients MUST NOT emit or propagate messages larger than this limit. The `message-id` of a gossipsub message MUST be the first 8 bytes of the SHA-256 hash of the message data, i.e.: ```python - message-id: (SHA256(message.data))[0..8] + message-id: (SHA256(message.data))[0:8] ``` The payload is carried in the `data` field of a gossipsub message, and varies depending on the topic: