aboutsummaryrefslogtreecommitdiffstats
path: root/eth/handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'eth/handler.go')
-rw-r--r--eth/handler.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/eth/handler.go b/eth/handler.go
index d0456446d..3705f5bb6 100644
--- a/eth/handler.go
+++ b/eth/handler.go
@@ -240,7 +240,7 @@ func (pm *ProtocolManager) handleMsg(p *peer) error {
pm.txpool.AddTransactions(txs)
case GetBlockHashesMsg:
- var request getBlockHashesMsgData
+ var request getBlockHashesData
if err := msg.Decode(&request); err != nil {
return errResp(ErrDecode, "->msg %v: %v", msg, err)
}
@@ -368,7 +368,7 @@ func (pm *ProtocolManager) handleMsg(p *peer) error {
case NewBlockMsg:
// Retrieve and decode the propagated block
- var request newBlockMsgData
+ var request newBlockData
if err := msg.Decode(&request); err != nil {
return errResp(ErrDecode, "%v: %v", msg, err)
}