fix(cmd:ipfs) import err identify -> spipe
Brian Tiger Chow committed
Sep 14, 2014 at 05:07 UTC
556da76b2cba5483e7858dd21ae87b6a4d1e3e94
1 file changed
+2
-2
cmd/ipfs/init.go
+2
-2
@@ -9,7 +9,7 @@ import (
9
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/commander"
10
config "github.com/jbenet/go-ipfs/config"
11
ci "github.com/jbenet/go-ipfs/crypto"
12
- identify "github.com/jbenet/go-ipfs/identify"
12
+ spipe "github.com/jbenet/go-ipfs/crypto/spipe"
13
u "github.com/jbenet/go-ipfs/util"
14
)
15
@@ -90,7 +90,7 @@ func initCmd(c *commander.Command, inp []string) error {
90
}
91
cfg.Identity.PrivKey = base64.StdEncoding.EncodeToString(skbytes)
92
93
- id, err := identify.IDFromPubKey(pk)
93
+ id, err := spipe.IDFromPubKey(pk)
94
if err != nil {
95
return err
96
}