mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 21:17:16 +00:00
Corrected contract addresses
This commit is contained in:
parent
0936e5ccf5
commit
b3da104e56
@ -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…
Reference in New Issue
Block a user