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
This commit is contained in:
committed by
Péter Szilágyi
parent
85c6a1c526
commit
dcd97c41fa
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user