Skip to content

Commit

Permalink
set Accesses in TxContext constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
jwasinger committed Nov 9, 2021
1 parent fdc4dea commit d1e1d5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/evm.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ func NewEVMTxContext(msg Message) vm.TxContext {
return vm.TxContext{
Origin: msg.From(),
GasPrice: new(big.Int).Set(msg.GasPrice()),
Accesses: types.NewAccessWitness(),
}
}

Expand Down

0 comments on commit d1e1d5a

Please sign in to comment.