diff options
Diffstat (limited to 'core/blockchain_test.go')
-rw-r--r-- | core/blockchain_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/blockchain_test.go b/core/blockchain_test.go index 46e7630..c5023ff 100644 --- a/core/blockchain_test.go +++ b/core/blockchain_test.go @@ -139,9 +139,9 @@ func (s *BlockChainTestSuite) newBlockChain(initB *types.Block, RoundLength: roundLength, }) if initB != nil { - initConfig.setRoundBeginHeight(initB.Position.Height) + initConfig.SetRoundBeginHeight(initB.Position.Height) } else { - initConfig.setRoundBeginHeight(0) + initConfig.SetRoundBeginHeight(0) } return newBlockChain(s.nID, s.dMoment, initB, initConfig, test.NewApp(0, nil), &testTSigVerifierGetter{}, s.signer, |