diff options
Diffstat (limited to 'integration_test')
-rw-r--r-- | integration_test/node.go | 2 | ||||
-rw-r--r-- | integration_test/utils.go | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/integration_test/node.go b/integration_test/node.go index dff662e..118a38f 100644 --- a/integration_test/node.go +++ b/integration_test/node.go @@ -89,7 +89,7 @@ func NewNode( shardID = uint32(0) chainID = uint32(math.MaxUint32) governanceConfig = gov.GetConfiguration(0) - broadcastTargets = gov.GetNotarySet() + broadcastTargets = gov.GetNotarySet(0) nodeID = types.NewNodeID(privateKey.PublicKey()) ) hashes := common.Hashes{} diff --git a/integration_test/utils.go b/integration_test/utils.go index 7259ced..6a94a17 100644 --- a/integration_test/utils.go +++ b/integration_test/utils.go @@ -31,7 +31,7 @@ func PrepareNodes( if err != nil { return } - for nID := range gov.GetNotarySet() { + for nID := range gov.GetNotarySet(0) { apps[nID] = test.NewApp() if db, err = blockdb.NewMemBackedBlockDB(); err != nil { @@ -39,7 +39,7 @@ func PrepareNodes( } dbs[nID] = db } - for nID := range gov.GetNotarySet() { + for nID := range gov.GetNotarySet(0) { if key, err = gov.GetPrivateKey(nID); err != nil { return } |