Skip to content

Commit

Permalink
fix offline id bug
Browse files Browse the repository at this point in the history
License:MIT
Signed-off-by: Kejie Zhang <[email protected]>
  • Loading branch information
kjzz committed Sep 18, 2018
1 parent 9962817 commit dbd2735
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

1 comment on commit dbd2735

@GitCop
Copy link

@GitCop GitCop commented on dbd2735 Sep 18, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There were the following issues with your Pull Request

We ask for a few features in the commit message for Open Source licensing hygiene and commit message clarity.
git commit --amend can often help you quickly improve the commit message.
Guidelines and a script are available to help in the long run.
Your feedback on GitCop is welcome on this issue.


This message was auto-generated by https://gitcop.com

Please sign in to comment.