Fixed a minor issue on crashed contracts

This commit is contained in:
obscuren
2014-02-24 13:15:34 +01:00
parent f2234264ed
commit 6c7255cde2
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,7 @@
package ethchain
import (
"fmt"
"github.com/ethereum/eth-go/ethutil"
"math/big"
)
@ -65,6 +66,8 @@ func MakeContract(tx *Transaction, state *State) *Contract {
state.trie.Update(string(addr), string(contract.RlpEncode()))
return contract
} else {
fmt.Println("NO CONTRACT")
}
return nil