diff options
author | Anton Evangelatov <anton.evangelatov@gmail.com> | 2018-08-21 16:34:10 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-08-21 16:34:10 +0800 |
commit | dcd97c41fa2789f2e642cb52b8e18c5bd7bcc81d (patch) | |
tree | 02c969af897b8aaf9306380f6874aa381e1d8510 /swarm/network/hive.go | |
parent | 85c6a1c526983f82fcd5e074fdc0bbd264b3815c (diff) | |
download | dexon-dcd97c41fa2789f2e642cb52b8e18c5bd7bcc81d.tar.gz dexon-dcd97c41fa2789f2e642cb52b8e18c5bd7bcc81d.tar.zst dexon-dcd97c41fa2789f2e642cb52b8e18c5bd7bcc81d.zip |
swarm, swarm/network, swarm/pss: log error and fix logs (#17410)
* swarm, swarm/network, swarm/pss: log error and fix logs
* swarm/pss: log compressed publickey
Diffstat (limited to 'swarm/network/hive.go')
-rw-r--r-- | swarm/network/hive.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/swarm/network/hive.go b/swarm/network/hive.go index a54a17d29..366021088 100644 --- a/swarm/network/hive.go +++ b/swarm/network/hive.go @@ -102,10 +102,10 @@ func NewHive(params *HiveParams, overlay Overlay, store state.Store) *Hive { // server is used to connect to a peer based on its NodeID or enode URL // these are called on the p2p.Server which runs on the node func (h *Hive) Start(server *p2p.Server) error { - log.Info(fmt.Sprintf("%08x hive starting", h.BaseAddr()[:4])) + log.Info("Starting hive", "baseaddr", fmt.Sprintf("%x", h.BaseAddr()[:4])) // if state store is specified, load peers to prepopulate the overlay address book if h.Store != nil { - log.Info("detected an existing store. trying to load peers") + log.Info("Detected an existing store. trying to load peers") if err := h.loadPeers(); err != nil { log.Error(fmt.Sprintf("%08x hive encoutered an error trying to load peers", h.BaseAddr()[:4])) return err |