Corrected contract addresses

pull/150/head
obscuren 11 years ago
parent 0936e5ccf5
commit b3da104e56
  1. 2
      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(""))

Loading…
Cancel
Save