mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 04:36:42 +00:00
fix lint
This commit is contained in:
parent
a2dc82fb3b
commit
0f6ede0f57
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ func (msg Msg) String() string {
|
|||
func (msg Msg) Discard() {
|
||||
_, err := io.Copy(io.Discard, msg.Payload)
|
||||
if err != nil {
|
||||
log.Error("[p2p] discard msg", "code", msg.Code, "size", msg.Size, "err", err)
|
||||
log.Error("[p2p] discard msg", "code", msg.Code, "size", msg.Size, "err", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue