mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-20 06:54:41 +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