From 2f7b143cb32ea6ee8c6c4bdd06b25dd2428e9da3 Mon Sep 17 00:00:00 2001 From: haozhiliu <136628919+haozhiliu@users.noreply.github.com> Date: Thu, 12 Oct 2023 10:57:18 +0800 Subject: [PATCH] disable palindrome (#21) --- src/subcommand/server/rpc.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/subcommand/server/rpc.rs b/src/subcommand/server/rpc.rs index 849b084cc1..598e5af0d7 100644 --- a/src/subcommand/server/rpc.rs +++ b/src/subcommand/server/rpc.rs @@ -219,11 +219,11 @@ fn get_block_rarity_chunks(block_rarity: &BlockRarity, start: u64, end: u64) -> } } } - BlockRarity::Palindrome => { - for palindrome in get_palindromes_from_sat_range(start, end) { - chunks.push((palindrome, palindrome + 1)) - } - } + // BlockRarity::Palindrome => { + // for palindrome in get_palindromes_from_sat_range(start, end) { + // chunks.push((palindrome, palindrome + 1)) + // } + // } } chunks }