mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 13:21:37 +00:00
feat(eth): log full node id after register peer (#2149)
This commit is contained in:
parent
be40f8ac21
commit
9eb90bca0e
1 changed files with 1 additions and 0 deletions
|
|
@ -375,6 +375,7 @@ func (pm *ProtocolManager) handle(p *peer) error {
|
|||
if err := pm.downloader.RegisterPeer(p.id, p.version, p); err != nil {
|
||||
return err
|
||||
}
|
||||
p.Log().Info("Register peer", "nodeid", p.ID().String(), "version", p.version)
|
||||
// Propagate existing transactions. new transactions appearing
|
||||
// after this will be sent via broadcasts.
|
||||
pm.syncTransactions(p)
|
||||
|
|
|
|||
Loading…
Reference in a new issue