diff options
author | obscuren <geffobscura@gmail.com> | 2014-02-19 23:26:35 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-02-19 23:26:35 +0800 |
commit | b3da104e569e15c710e6b95ac00c9c2fc80bc9ae (patch) | |
tree | d6cf30c70fbff2ed3e949661a3cd1a7112d4c0d9 | |
parent | 0936e5ccf5c8fc842cbd135c02a6abcd009b4e7f (diff) | |
download | dexon-b3da104e569e15c710e6b95ac00c9c2fc80bc9ae.tar dexon-b3da104e569e15c710e6b95ac00c9c2fc80bc9ae.tar.gz dexon-b3da104e569e15c710e6b95ac00c9c2fc80bc9ae.tar.bz2 dexon-b3da104e569e15c710e6b95ac00c9c2fc80bc9ae.tar.lz dexon-b3da104e569e15c710e6b95ac00c9c2fc80bc9ae.tar.xz dexon-b3da104e569e15c710e6b95ac00c9c2fc80bc9ae.tar.zst dexon-b3da104e569e15c710e6b95ac00c9c2fc80bc9ae.zip |
Corrected contract addresses
-rw-r--r-- | ethchain/block.go | 2 |
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("")) |