...
This commit is contained in:
parent
8b19ffa7c1
commit
658f58015f
|
@ -325,6 +325,7 @@ func TestHandler(t *testing.T) {
|
||||||
SignCheckDeliver(t, bapp, receiveMsg, 3, false)
|
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) {
|
func SignCheckDeliver(t *testing.T, bapp *BasecoinApp, msg sdk.Msg, seq int64, expPass bool) {
|
||||||
|
|
||||||
// Sign the tx
|
// Sign the tx
|
||||||
|
@ -350,6 +351,8 @@ func SignCheckDeliver(t *testing.T, bapp *BasecoinApp, msg sdk.Msg, seq int64, e
|
||||||
} else {
|
} else {
|
||||||
require.NotEqual(t, sdk.CodeOK, res.Code, res.Log)
|
require.NotEqual(t, sdk.CodeOK, res.Code, res.Log)
|
||||||
}
|
}
|
||||||
|
bapp.EndBlock(abci.RequestEndBlock{})
|
||||||
|
//bapp.Commit()
|
||||||
}
|
}
|
||||||
|
|
||||||
func CheckBalance(t *testing.T, bapp *BasecoinApp, balExpected string) {
|
func CheckBalance(t *testing.T, bapp *BasecoinApp, balExpected string) {
|
||||||
|
|
Loading…
Reference in New Issue