mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-09 22:47:24 +00:00
(cherry picked from commit 24dcba9230)
Co-authored-by: Sam Kleinman <garen@tychoish.com>
This commit is contained in:
@@ -51,7 +51,9 @@ func TestApp_Hash(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
|
||||
if info.Response.LastBlockHeight == block.Block.Height {
|
||||
require.EqualValues(t, info.Response.LastBlockAppHash, block.Block.AppHash.Bytes(),
|
||||
require.Equal(t,
|
||||
fmt.Sprintf("%x", info.Response.LastBlockAppHash),
|
||||
fmt.Sprintf("%x", block.Block.AppHash.Bytes()),
|
||||
"app hash does not match last block's app hash")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user