OSDN Git Service

modify ci
[bytom/vapor.git] / account / accounts_test.go
index 62e07be..413283a 100644 (file)
@@ -11,6 +11,7 @@ import (
 
        "github.com/vapor/blockchain/pseudohsm"
        "github.com/vapor/blockchain/signers"
+       "github.com/vapor/consensus"
        "github.com/vapor/crypto/ed25519/chainkd"
        "github.com/vapor/database/leveldb"
        "github.com/vapor/errors"
@@ -205,6 +206,9 @@ func TestGetAccountIndexKey(t *testing.T) {
 }
 
 func mockAccountManager(t *testing.T) *Manager {
+
+       consensus.ActiveNetParams.Signer = "78673764e0ba91a4c5ba9ec0c8c23c69e3d73bf27970e05e0a977e81e13bde475264d3b177a96646bc0ce517ae7fd63504c183ab6d330dea184331a4cf5912d5"
+
        dirPath, err := ioutil.TempDir(".", "")
        if err != nil {
                t.Fatal(err)