Skip to content

Commit

Permalink
remove getter function
Browse files Browse the repository at this point in the history
  • Loading branch information
facs95 committed Mar 21, 2024
1 parent b5ad3c5 commit b396857
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/vm/contracts.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,6 @@ func (evm *EVM) Precompile(addr common.Address) (PrecompiledContract, bool) {
return p, ok
}

func (evm *EVM) GetPrecompiles() ([]common.Address, map[common.Address]PrecompiledContract) {
return evm.activePrecompiles, evm.precompiles
}

// WithPrecompiles sets the precompiled contracts and the slice of actives precompiles.
// IMPORTANT: This function does NOT validate the precompiles provided to the EVM. The caller should
// use the ValidatePrecompiles function for this purpose prior to calling WithPrecompiles.
Expand Down

0 comments on commit b396857

Please sign in to comment.