Commit 89a59a6e authored by QM's avatar QM

updatat unit test

parent 9d49b39d
......@@ -91,8 +91,8 @@ func (x *suiteX2Ethereum) Test_1_SetConsensus() {
msg, err := x.x2eth.Query_GetConsensusThreshold(&types2.QueryConsensusThresholdParams{})
x.NoError(err)
reply := msg.(*types2.ReceiptSetConsensusThreshold)
x.Equal(reply.NowConsensusThreshold, int64(80))
reply := msg.(*types2.ReceiptQueryConsensusThreshold)
x.Equal(reply.ConsensusThreshold, int64(80))
}
func (x *suiteX2Ethereum) Test_2_AddValidator() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment