diff --git a/runtime/astar/src/precompiles.rs b/runtime/astar/src/precompiles.rs index 2d327619dd..6e9885facc 100644 --- a/runtime/astar/src/precompiles.rs +++ b/runtime/astar/src/precompiles.rs @@ -68,7 +68,7 @@ impl AstarNetworkPrecompiles { /// This is in order to keep the local testnets consistent with the live network. pub fn is_blacklisted(address: &H160) -> bool { // `dispatch` precompile is not allowed to be called by smart contracts, hence the ommision of this address. - hash(1024) == *address + hash(1025) == *address } } diff --git a/runtime/shiden/src/precompiles.rs b/runtime/shiden/src/precompiles.rs index 775ed798fd..bc9a9de235 100644 --- a/runtime/shiden/src/precompiles.rs +++ b/runtime/shiden/src/precompiles.rs @@ -68,7 +68,7 @@ impl ShidenNetworkPrecompiles { /// This is in order to keep the local testnets consistent with the live network. pub fn is_blacklisted(address: &H160) -> bool { // `dispatch` precompile is not allowed to be called by smart contracts, hence the ommision of this address. - hash(1024) == *address + hash(1025) == *address } }