Skip to content

Commit

Permalink
Merge pull request #5486 from kjzz/fix/id
Browse files Browse the repository at this point in the history
fix offline id bug
  • Loading branch information
Stebalien authored Sep 19, 2018
2 parents e633ecc + 53d1251 commit b5bba2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b5bba2c

Please # to comment.