File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
code/go/0chain.net/blobbercore/allocation Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import (
16
16
"github.com/0chain/blobber/code/go/0chain.net/core/common"
17
17
"github.com/0chain/blobber/code/go/0chain.net/core/logging"
18
18
"github.com/0chain/gosdk/constants"
19
- "github.com/0chain/gosdk/core/client"
20
19
"github.com/0chain/gosdk/core/zcncrypto"
21
20
mocket "github.com/selvatico/go-mocket"
22
21
"go.uber.org/zap"
@@ -31,14 +30,14 @@ func TestBlobberCore_CopyFile(t *testing.T) {
31
30
sch := zcncrypto .NewSignatureScheme ("bls0chain" )
32
31
mnemonic := "expose culture dignity plastic digital couple promote best pool error" +
33
32
" brush upgrade correct art become lobster nature moment obtain trial multiply arch miss toe"
34
- _ , err := sch .RecoverKeys (mnemonic )
33
+ w , err := sch .RecoverKeys (mnemonic )
35
34
if err != nil {
36
35
t .Fatal (err )
37
36
}
38
37
ts := time .Now ().Add (time .Hour )
39
38
alloc := makeTestAllocation (common .Timestamp (ts .Unix ()))
40
39
alloc .OwnerPublicKey = sch .GetPublicKey ()
41
- alloc .OwnerID = client . Wallet () .ClientID
40
+ alloc .OwnerID = w .ClientID
42
41
43
42
testCases := []struct {
44
43
name string
You can’t perform that action at this time.
0 commit comments