mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 09:23:48 +00:00
swarm/network: Allow nil HandoverProof in OfferedHashesMsg
This commit is contained in:
parent
3956470fce
commit
1d7d6c9049
1 changed files with 5 additions and 5 deletions
|
|
@ -84,11 +84,11 @@ type SubscribeMsg struct {
|
||||||
// OfferedHashesMsg is the protocol msg for offering to hand over a
|
// OfferedHashesMsg is the protocol msg for offering to hand over a
|
||||||
// stream section
|
// stream section
|
||||||
type OfferedHashesMsg struct {
|
type OfferedHashesMsg struct {
|
||||||
Stream string // name of Stream
|
Stream string // name of Stream
|
||||||
Key []byte // subtype or key
|
Key []byte // subtype or key
|
||||||
From, To uint64 // peer and db-specific entry count
|
From, To uint64 // peer and db-specific entry count
|
||||||
Hashes []byte // stream of hashes (128)
|
Hashes []byte // stream of hashes (128)
|
||||||
*HandoverProof // HandoverProof
|
*HandoverProof `rlp:"nil"` // HandoverProof
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue