From 49c3c6981a6dc2dd4d5466fccc98ace3ddb76595 Mon Sep 17 00:00:00 2001 From: Dino Pacandi Date: Tue, 26 Sep 2023 15:28:10 +0200 Subject: [PATCH] Change num --- runtime/astar/src/precompiles.rs | 2 +- runtime/shiden/src/precompiles.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 } }