From 1d7d6c9049cf4d0c9a7dd02494cae2188984dc99 Mon Sep 17 00:00:00 2001 From: Balint Gabor Date: Fri, 12 Jan 2018 20:06:41 +0100 Subject: [PATCH] swarm/network: Allow nil HandoverProof in OfferedHashesMsg --- swarm/network/streamer.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/swarm/network/streamer.go b/swarm/network/streamer.go index de259ba8fb..54b33b3fa6 100644 --- a/swarm/network/streamer.go +++ b/swarm/network/streamer.go @@ -84,11 +84,11 @@ type SubscribeMsg struct { // OfferedHashesMsg is the protocol msg for offering to hand over a // stream section type OfferedHashesMsg struct { - Stream string // name of Stream - Key []byte // subtype or key - From, To uint64 // peer and db-specific entry count - Hashes []byte // stream of hashes (128) - *HandoverProof // HandoverProof + Stream string // name of Stream + Key []byte // subtype or key + From, To uint64 // peer and db-specific entry count + Hashes []byte // stream of hashes (128) + *HandoverProof `rlp:"nil"` // HandoverProof } /*