Commit 667f8a6f authored by Jeromy's avatar Jeromy

replace string with constant in fsrepo privkey check

License: MIT
Signed-off-by: default avatarJeromy <why@ipfs.io>
parent 91dd044d
......@@ -532,7 +532,7 @@ func (r *FSRepo) SetConfigKey(key string, value interface{}) error {
}
// replace private key, in case it was overwritten.
if err := common.MapSetKV(mapconf, "Identity.PrivKey", pkval); err != nil {
if err := common.MapSetKV(mapconf, config.PrivKeySelector, pkval); err != nil {
return err
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment