Skip to content

Commit

Permalink
Merge pull request #1338 from GavinXu520/develop
Browse files Browse the repository at this point in the history
Using PrecompiledContractsByzantium, No using PrecompiledContractsHomestead
  • Loading branch information
benbaley authored Apr 20, 2020
2 parents f0b54ed + 6f51079 commit 3a1973c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/vm/contracts.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func RunPlatONPrecompiledContract(p PlatONPrecompiledContract, input []byte, con
}

func IsEVMPrecompiledContract(addr common.Address) bool {
if _, ok := PrecompiledContractsHomestead[addr]; ok {
if _, ok := PrecompiledContractsByzantium[addr]; ok {
return true
}
return false
Expand Down

0 comments on commit 3a1973c

Please sign in to comment.