mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-08 17:21:47 +00:00
Corrected contract addresses
This commit is contained in:
parent
0936e5ccf5
commit
b3da104e56
1 changed files with 1 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ func (block *Block) Undo() {
|
||||||
func (block *Block) MakeContract(tx *Transaction) {
|
func (block *Block) MakeContract(tx *Transaction) {
|
||||||
// Create contract if there's no recipient
|
// Create contract if there's no recipient
|
||||||
if tx.IsContract() {
|
if tx.IsContract() {
|
||||||
addr := tx.Hash()
|
addr := tx.Hash()[12:]
|
||||||
|
|
||||||
value := tx.Value
|
value := tx.Value
|
||||||
contract := NewContract(value, []byte(""))
|
contract := NewContract(value, []byte(""))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue