mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-26 12:57:44 +08:00
commit
b5bba2ce80
@ -774,7 +774,8 @@ func (n *IpfsNode) LoadPrivateKey() error {
|
||||
}
|
||||
|
||||
if n.PrivateKey != nil {
|
||||
return errors.New("private key already loaded")
|
||||
log.Warning("private key already loaded")
|
||||
return nil
|
||||
}
|
||||
|
||||
cfg, err := n.Repo.Config()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user