Skip to content

Commit

Permalink
Using PrecompiledContractsByzantium, No using PrecompiledContractsHom…
Browse files Browse the repository at this point in the history
…estead

Signed-off-by: GavinXu <[email protected]>
  • Loading branch information
GavinXu520 committed Apr 20, 2020
1 parent f0b54ed commit 6f51079
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 6f51079

Please sign in to comment.