mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
cmd/evm: vm.Reference -> vm.AccountRef
This commit is contained in:
parent
1a02e71376
commit
612191b810
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ func run(ctx *cli.Context) error {
|
||||||
db, _ = ethdb.NewMemDatabase()
|
db, _ = ethdb.NewMemDatabase()
|
||||||
statedb, _ = state.New(common.Hash{}, db)
|
statedb, _ = state.New(common.Hash{}, db)
|
||||||
address = common.StringToAddress("sender")
|
address = common.StringToAddress("sender")
|
||||||
sender = vm.Reference(address)
|
sender = vm.AccountRef(address)
|
||||||
)
|
)
|
||||||
statedb.CreateAccount(common.StringToAddress("sender"))
|
statedb.CreateAccount(common.StringToAddress("sender"))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue