1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-09 17:22:21 +08:00

fix fuse mounting issues

this time, without loading the private key on every startup
This commit is contained in:
Jeromy
2015-01-16 22:46:44 +00:00
parent d0e4cdf327
commit feeada0d90
8 changed files with 186 additions and 11 deletions

View File

@ -98,7 +98,13 @@ func TestGetFailures(t *testing.T) {
{
typ := pb.Message_GET_VALUE
str := "hello"
rec, err := d.makePutRecord(u.Key(str), []byte("blah"))
sk, err := d.getOwnPrivateKey()
if err != nil {
t.Fatal(err)
}
rec, err := MakePutRecord(sk, u.Key(str), []byte("blah"))
if err != nil {
t.Fatal(err)
}