mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-03-03 11:40:39 +00:00
remove extraneous parens
This commit is contained in:
parent
89be1f5bc8
commit
5a9fe89089
@ -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.:
|
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
|
```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:
|
The payload is carried in the `data` field of a gossipsub message, and varies depending on the topic:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user