Skip to content

Commit

Permalink
Change num
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinonard committed Sep 26, 2023
1 parent ec2adb2 commit 49c3c69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtime/astar/src/precompiles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl<R, C> AstarNetworkPrecompiles<R, C> {
/// 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
}
}

Expand Down
2 changes: 1 addition & 1 deletion runtime/shiden/src/precompiles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl<R, C> ShidenNetworkPrecompiles<R, C> {
/// 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
}
}

Expand Down

0 comments on commit 49c3c69

Please sign in to comment.