mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-13 07:23:46 +00:00
fix: inputs for from and to addresses for transfer log
This commit is contained in:
parent
480d7ea99c
commit
7aa5f69130
1 changed files with 3 additions and 3 deletions
|
|
@ -220,6 +220,9 @@ func (st *StateTransition) preCheck() error {
|
||||||
// However if any consensus issue encountered, return the error directly with
|
// However if any consensus issue encountered, return the error directly with
|
||||||
// nil evm execution result.
|
// nil evm execution result.
|
||||||
func (st *StateTransition) TransitionDb() (*ExecutionResult, error) {
|
func (st *StateTransition) TransitionDb() (*ExecutionResult, error) {
|
||||||
|
input1 := st.state.GetBalance(st.msg.From())
|
||||||
|
input2 := st.state.GetBalance(st.evm.Coinbase)
|
||||||
|
|
||||||
// First check this message satisfies all consensus rules before
|
// First check this message satisfies all consensus rules before
|
||||||
// applying the message. The rules include these clauses
|
// applying the message. The rules include these clauses
|
||||||
//
|
//
|
||||||
|
|
@ -235,9 +238,6 @@ func (st *StateTransition) TransitionDb() (*ExecutionResult, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
input1 := st.state.GetBalance(st.msg.From())
|
|
||||||
input2 := st.state.GetBalance(st.evm.Coinbase)
|
|
||||||
|
|
||||||
msg := st.msg
|
msg := st.msg
|
||||||
sender := vm.AccountRef(msg.From())
|
sender := vm.AccountRef(msg.From())
|
||||||
homestead := st.evm.ChainConfig().IsHomestead(st.evm.BlockNumber)
|
homestead := st.evm.ChainConfig().IsHomestead(st.evm.BlockNumber)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue