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/pss | |
parent | 85c6a1c526983f82fcd5e074fdc0bbd264b3815c (diff) | |
download | dexon-dcd97c41fa2789f2e642cb52b8e18c5bd7bcc81d.tar dexon-dcd97c41fa2789f2e642cb52b8e18c5bd7bcc81d.tar.gz dexon-dcd97c41fa2789f2e642cb52b8e18c5bd7bcc81d.tar.bz2 dexon-dcd97c41fa2789f2e642cb52b8e18c5bd7bcc81d.tar.lz dexon-dcd97c41fa2789f2e642cb52b8e18c5bd7bcc81d.tar.xz 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/pss')
-rw-r--r-- | swarm/pss/pss.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/swarm/pss/pss.go b/swarm/pss/pss.go index 5c060b248..8459211dd 100644 --- a/swarm/pss/pss.go +++ b/swarm/pss/pss.go @@ -232,12 +232,13 @@ func (p *Pss) Start(srv *p2p.Server) error { } } }() - log.Debug("Started pss", "public key", common.ToHex(crypto.FromECDSAPub(p.PublicKey()))) + log.Info("Started Pss") + log.Info("Loaded EC keys", "pubkey", common.ToHex(crypto.FromECDSAPub(p.PublicKey())), "secp256", common.ToHex(crypto.CompressPubkey(p.PublicKey()))) return nil } func (p *Pss) Stop() error { - log.Info("pss shutting down") + log.Info("Pss shutting down") close(p.quitC) return nil } |