@@ -37,7 +37,7 @@ func TestConstructAnnounceMessage(test *testing.T) {
37
37
test .Fatalf ("newhost failure: %v" , err )
38
38
}
39
39
decider := quorum .NewDecider (
40
- quorum .SuperMajorityVote , shard .BeaconChainShardID ,
40
+ quorum .SuperMajorityVote , shard .BeaconChainShardID , false ,
41
41
)
42
42
blsPriKey := bls .RandPrivateKey ()
43
43
reg := registry .New ()
@@ -70,7 +70,7 @@ func TestConstructPreparedMessage(test *testing.T) {
70
70
test .Fatalf ("newhost failure: %v" , err )
71
71
}
72
72
decider := quorum .NewDecider (
73
- quorum .SuperMajorityVote , shard .BeaconChainShardID ,
73
+ quorum .SuperMajorityVote , shard .BeaconChainShardID , false ,
74
74
)
75
75
blsPriKey := bls .RandPrivateKey ()
76
76
reg := registry .New ()
@@ -150,7 +150,7 @@ func TestConstructPrepareMessage(test *testing.T) {
150
150
priKeyWrapper2 := bls.PrivateKeyWrapper {Pri : blsPriKey2 , Pub : & pubKeyWrapper2 }
151
151
152
152
decider := quorum .NewDecider (
153
- quorum .SuperMajorityStake , shard .BeaconChainShardID ,
153
+ quorum .SuperMajorityStake , shard .BeaconChainShardID , false ,
154
154
)
155
155
156
156
consensus , err := New (
@@ -242,7 +242,7 @@ func TestConstructCommitMessage(test *testing.T) {
242
242
priKeyWrapper2 := bls.PrivateKeyWrapper {Pri : blsPriKey2 , Pub : & pubKeyWrapper2 }
243
243
244
244
decider := quorum .NewDecider (
245
- quorum .SuperMajorityStake , shard .BeaconChainShardID ,
245
+ quorum .SuperMajorityStake , shard .BeaconChainShardID , false ,
246
246
)
247
247
248
248
consensus , err := New (host , shard .BeaconChainShardID , multibls .GetPrivateKeys (blsPriKey1 ), registry .New (), decider , 3 , false )
@@ -324,7 +324,7 @@ func TestPopulateMessageFields(t *testing.T) {
324
324
}
325
325
blsPriKey := bls .RandPrivateKey ()
326
326
decider := quorum .NewDecider (
327
- quorum .SuperMajorityVote , shard .BeaconChainShardID ,
327
+ quorum .SuperMajorityVote , shard .BeaconChainShardID , false ,
328
328
)
329
329
consensus , err := New (
330
330
host , shard .BeaconChainShardID , multibls .GetPrivateKeys (blsPriKey ), registry .New (), decider , 3 , false ,
0 commit comments