diff --git a/eth/protocols/eth/handler.go b/eth/protocols/eth/handler.go index a4ec1435f1..dd78d560a5 100644 --- a/eth/protocols/eth/handler.go +++ b/eth/protocols/eth/handler.go @@ -234,7 +234,7 @@ var eth71 = map[uint64]msgHandler{ var eth72 = map[uint64]msgHandler{ TransactionsMsg: handleTransactions, - NewPooledTransactionHashesMsg: handleNewPooledTransactionHashes71, + NewPooledTransactionHashesMsg: handleNewPooledTransactionHashes72, GetBlockHeadersMsg: handleGetBlockHeaders, BlockHeadersMsg: handleBlockHeaders, GetBlockBodiesMsg: handleGetBlockBodies, diff --git a/eth/protocols/eth/handlers.go b/eth/protocols/eth/handlers.go index d191587812..ce2bc876c5 100644 --- a/eth/protocols/eth/handlers.go +++ b/eth/protocols/eth/handlers.go @@ -583,7 +583,7 @@ func handleNewPooledTransactionHashes(backend Backend, msg Decoder, peer *Peer) return backend.Handle(peer, ann) } -func handleNewPooledTransactionHashes71(backend Backend, msg Decoder, peer *Peer) error { +func handleNewPooledTransactionHashes72(backend Backend, msg Decoder, peer *Peer) error { // New transaction announcement arrived, make sure we have // a valid and fresh chain to handle them if !backend.AcceptTxs() {