mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-19 22:44:24 +00:00
vm: fix errors not being returned
This commit is contained in:
+3
-3
@@ -32,9 +32,9 @@ func (st *Stack) useGas(gasToUse uint64) {
|
||||
}
|
||||
|
||||
func (st *Stack) setErr(err error) {
|
||||
if *st.err != nil {
|
||||
*st.err = err
|
||||
}
|
||||
//if *st.err != nil {
|
||||
*st.err = err
|
||||
//}
|
||||
}
|
||||
|
||||
func (st *Stack) Push(d Word256) {
|
||||
|
||||
Reference in New Issue
Block a user