vm: fix errors not being returned

This commit is contained in:
Ethan Buchman
2015-04-07 00:34:27 -05:00
parent 3bedcbf94d
commit ade13daec1
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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) {