Fixed minor issue with the gas pool

This commit is contained in:
obscuren
2014-06-16 11:51:16 +02:00
parent 9f62d441a7
commit 48bca30e61
4 changed files with 13 additions and 9 deletions

View File

@@ -113,12 +113,14 @@ func (self *StateTransition) BuyGas() error {
func (self *StateTransition) TransitionState() (err error) {
//snapshot := st.state.Snapshot()
defer func() {
if r := recover(); r != nil {
ethutil.Config.Log.Infoln(r)
err = fmt.Errorf("state transition err %v", r)
}
}()
/*
defer func() {
if r := recover(); r != nil {
ethutil.Config.Log.Infoln(r)
err = fmt.Errorf("state transition err %v", r)
}
}()
*/
var (
tx = self.tx