vm: fix errors not being returned

This commit is contained in:
Ethan Buchman
2015-04-02 19:14:58 -07:00
parent 3bedcbf94d
commit ade13daec1
2 changed files with 4 additions and 4 deletions

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) {