mirror of
https://github.com/status-im/nim-codex.git
synced 2025-01-22 16:49:24 +00:00
Fixed message.proto to match IPFS specs (#245)
We incorrectly assigned code 2 to the payload field instead of code 3: Our code:8c59392526/codex/blockexchange/protobuf/message.proto (L50-L52)
While original code:0fa397581c/message/pb/message.proto (L43-L45)
And [documentation](https://github.com/ipfs/specs/blob/main/BITSWAP.md#bitswap-120-wire-format).
This commit is contained in:
parent
6b2adb7017
commit
df1522c9f8
@ -47,9 +47,9 @@ message Message {
|
||||
}
|
||||
|
||||
Wantlist wantlist = 1;
|
||||
repeated Block payload = 2;
|
||||
repeated BlockPresence blockPresences = 3;
|
||||
int32 pendingBytes = 4;
|
||||
AccountMessage account = 5;
|
||||
StateChannelUpdate payment = 6;
|
||||
repeated Block payload = 3;
|
||||
repeated BlockPresence blockPresences = 4;
|
||||
int32 pendingBytes = 5;
|
||||
AccountMessage account = 6;
|
||||
StateChannelUpdate payment = 7;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user