diff options
author | Mission Liao <mission.liao@dexon.org> | 2018-12-06 14:30:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-06 14:30:05 +0800 |
commit | 41753e517c68575589c485b3f9570db94e59bcd0 (patch) | |
tree | 88ca8e57415164bce765658f3f55d51e85646eb3 /core/configuration-chain_test.go | |
parent | 4eb02f1dd96e136b0f7cf7eff792da1e44176713 (diff) | |
download | dexon-consensus-41753e517c68575589c485b3f9570db94e59bcd0.tar dexon-consensus-41753e517c68575589c485b3f9570db94e59bcd0.tar.gz dexon-consensus-41753e517c68575589c485b3f9570db94e59bcd0.tar.bz2 dexon-consensus-41753e517c68575589c485b3f9570db94e59bcd0.tar.lz dexon-consensus-41753e517c68575589c485b3f9570db94e59bcd0.tar.xz dexon-consensus-41753e517c68575589c485b3f9570db94e59bcd0.tar.zst dexon-consensus-41753e517c68575589c485b3f9570db94e59bcd0.zip |
test: allow to log in test.State (#359)
Diffstat (limited to 'core/configuration-chain_test.go')
-rw-r--r-- | core/configuration-chain_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/configuration-chain_test.go b/core/configuration-chain_test.go index 281be06..3a7f729 100644 --- a/core/configuration-chain_test.go +++ b/core/configuration-chain_test.go @@ -173,7 +173,8 @@ func (s *ConfigurationChainTestSuite) runDKG( } for _, nID := range s.nIDs { - gov, err := test.NewGovernance(pks, 50*time.Millisecond, ConfigRoundShift) + gov, err := test.NewGovernance(test.NewState( + pks, 50*time.Millisecond, &common.NullLogger{}, true), ConfigRoundShift) s.Require().NoError(err) cache := utils.NewNodeSetCache(gov) cfgChains[nID] = newConfigurationChain( |