mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 11:20:45 +00:00
eth/protocols: rename handler from 71 to 72
This commit is contained in:
parent
5ca5702fe2
commit
f9d89dd5f2
2 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue