mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-23 09:41:38 +00:00
panic wrapper functions
This commit is contained in:
@ -50,7 +50,7 @@ func (st *Stack) Push(d Word256) {
|
||||
// currently only called after Sha3
|
||||
func (st *Stack) PushBytes(bz []byte) {
|
||||
if len(bz) != 32 {
|
||||
panic("Invalid bytes size: expected 32")
|
||||
PanicSanity("Invalid bytes size: expected 32")
|
||||
}
|
||||
st.Push(LeftPadWord256(bz))
|
||||
}
|
||||
|
Reference in New Issue
Block a user