Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
noot committed Mar 26, 2024
1 parent 617e638 commit 6eccacc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/state_transition.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import (
cmath "github.com/ethereum/go-ethereum/common/math"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/core/vm"
"github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/params"
)

Expand Down Expand Up @@ -365,7 +364,6 @@ func (st *StateTransition) preCheck() error {
func (st *StateTransition) TransitionDb() (*ExecutionResult, error) {
// if this is a deposit tx, we only need to mint funds and no gas is used.
if st.msg.IsDepositTx {
log.Info("executing deposit tx", "from", st.msg.From, "value", st.msg.Value)
st.state.AddBalance(st.msg.From, st.msg.Value)
return &ExecutionResult{
UsedGas: 0,
Expand Down

0 comments on commit 6eccacc

Please sign in to comment.