You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the hash returned by getBlockHash(header) is in-correct. It does not match the match the commit.block_id.hash. This is happening for headers and commits that are correct (checked using go-tendermint).
function verifyCommit (header, commit, validators) {
let blockHash = getBlockHash(header)
if (blockHash !== commit.block_id.hash) {
throw Error('Commit does not match block hash')
}
the hash returned by
getBlockHash(header)
is in-correct. It does not match the match thecommit.block_id.hash
. This is happening for headers and commits that are correct (checked using go-tendermint).Given here - https://github.com/nomic-io/js-tendermint/blob/92aec26734c02b2ccd75ececccdaf1d6e70b772e/src/verify.js#L51
The text was updated successfully, but these errors were encountered: