mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-20 16:36:31 +00:00
Merge pull request #95 from tendermint/vm_panics
label/remove panics in vm
This commit is contained in:
@ -47,6 +47,7 @@ func (st *Stack) Push(d Word256) {
|
||||
st.ptr++
|
||||
}
|
||||
|
||||
// currently only called after Sha3
|
||||
func (st *Stack) PushBytes(bz []byte) {
|
||||
if len(bz) != 32 {
|
||||
panic("Invalid bytes size: expected 32")
|
||||
|
Reference in New Issue
Block a user