aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
Diffstat (limited to 'eth')
-rw-r--r--eth/handler.go2
-rw-r--r--eth/peer.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/eth/handler.go b/eth/handler.go
index a7f4be0b6..ade8f7719 100644
--- a/eth/handler.go
+++ b/eth/handler.go
@@ -308,7 +308,7 @@ func (pm *ProtocolManager) handle(p *peer) error {
// main loop. handle incoming messages.
for {
if err := pm.handleMsg(p); err != nil {
- p.Log().Debug("Message handling failed", "err", err)
+ p.Log().Debug("Ethereum message handling failed", "err", err)
return err
}
}
diff --git a/eth/peer.go b/eth/peer.go
index 443463b8c..6884fee8e 100644
--- a/eth/peer.go
+++ b/eth/peer.go
@@ -187,7 +187,7 @@ func (p *peer) SendReceiptsRLP(receipts []rlp.RawValue) error {
return p2p.Send(p.rw, ReceiptsMsg, receipts)
}
-// RequestHeaders is a wrapper around the header query functions to fetch a
+// RequestOneHeader is a wrapper around the header query functions to fetch a
// single header. It is used solely by the fetcher.
func (p *peer) RequestOneHeader(hash common.Hash) error {
p.Log().Debug("Fetching single header", "hash", hash)