[p2p] print out sender pubkey if error found

Signed-off-by: Leo Chen <leo@harmony.one>
pull/3440/head
Leo Chen 4 years ago
parent b0fb0a3848
commit 7a1d97772d
  1. 2
      node/node.go

@ -782,7 +782,7 @@ func (node *Node) Start() error {
}
} else {
if err := msg.handleC(ctx, msg.handleCArg, msg.senderPubKey); err != nil {
errChan <- withError{err, nil}
errChan <- withError{err, msg.senderPubKey}
}
}
}

Loading…
Cancel
Save