This commit is contained in:
rigelrozanski 2018-03-21 18:07:12 +01:00 committed by Sunny Aggarwal
parent 8b19ffa7c1
commit 658f58015f
1 changed files with 3 additions and 0 deletions

View File

@ -325,6 +325,7 @@ func TestHandler(t *testing.T) {
SignCheckDeliver(t, bapp, receiveMsg, 3, false)
}
// TODO describe the use of this function
func SignCheckDeliver(t *testing.T, bapp *BasecoinApp, msg sdk.Msg, seq int64, expPass bool) {
// Sign the tx
@ -350,6 +351,8 @@ func SignCheckDeliver(t *testing.T, bapp *BasecoinApp, msg sdk.Msg, seq int64, e
} else {
require.NotEqual(t, sdk.CodeOK, res.Code, res.Log)
}
bapp.EndBlock(abci.RequestEndBlock{})
//bapp.Commit()
}
func CheckBalance(t *testing.T, bapp *BasecoinApp, balExpected string) {