提交 556da76b 作者: Brian Tiger Chow

fix(cmd:ipfs) import err identify -> spipe

上级 5b5e17ed
......@@ -9,7 +9,7 @@ import (
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/commander"
config "github.com/jbenet/go-ipfs/config"
ci "github.com/jbenet/go-ipfs/crypto"
identify "github.com/jbenet/go-ipfs/identify"
spipe "github.com/jbenet/go-ipfs/crypto/spipe"
u "github.com/jbenet/go-ipfs/util"
)
......@@ -90,7 +90,7 @@ func initCmd(c *commander.Command, inp []string) error {
}
cfg.Identity.PrivKey = base64.StdEncoding.EncodeToString(skbytes)
id, err := identify.IDFromPubKey(pk)
id, err := spipe.IDFromPubKey(pk)
if err != nil {
return err
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论