aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ethchain/block.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethchain/block.go b/ethchain/block.go
index ae654b7d8..0b4f93e8c 100644
--- a/ethchain/block.go
+++ b/ethchain/block.go
@@ -222,7 +222,7 @@ func (block *Block) Undo() {
func (block *Block) MakeContract(tx *Transaction) {
// Create contract if there's no recipient
if tx.IsContract() {
- addr := tx.Hash()
+ addr := tx.Hash()[12:]
value := tx.Value
contract := NewContract(value, []byte(""))