Skip to content

Commit

Permalink
remove extra message
Browse files Browse the repository at this point in the history
  • Loading branch information
unclezoro committed Sep 10, 2021
1 parent 443f9a4 commit f1f4615
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eth/protocols/diff/handshake.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import (
"fmt"
"time"

"github.com/ethereum/go-ethereum/rlp"

"github.com/ethereum/go-ethereum/common/gopool"
"github.com/ethereum/go-ethereum/p2p"
)
Expand All @@ -40,6 +42,7 @@ func (p *Peer) Handshake(diffSync bool) error {
gopool.Submit(func() {
errc <- p2p.Send(p.rw, DiffCapMsg, &DiffCapPacket{
DiffSync: diffSync,
Extra: rlp.RawValue{},
})
})
gopool.Submit(func() {
Expand Down

0 comments on commit f1f4615

Please sign in to comment.