Commit b3da104e authored by obscuren's avatar obscuren

Corrected contract addresses

parent 0936e5cc
......@@ -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(""))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment