Skip to content

Commit

Permalink
rectify method name
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshvanahalli committed Nov 22, 2024
1 parent 4e387ee commit 4bc2200
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/state/statedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func (s *StateDB) FilterTx(withBlock bool) {
}
}

func (s *StateDB) IsTxValid() bool {
func (s *StateDB) IsTxInvalid() bool {
return s.arbTxFilter == 1
}

Expand Down
2 changes: 1 addition & 1 deletion core/vm/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ type StateDB interface {

// Arbitrum
FilterTx(bool)
IsTxValid() bool
IsTxInvalid() bool

Deterministic() bool
Database() state.Database
Expand Down

0 comments on commit 4bc2200

Please sign in to comment.