Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
haozhiliu committed Jan 10, 2024
1 parent a895d34 commit e37d2ff
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions src/subcommand/server/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,15 +406,11 @@ mod tests {
},
BlockRarityInfo {
block_rarity: BlockRarity::Alpha,
chunks: vec![
(46_000_000_000, 46_000_000_001)
]
chunks: vec![(46_000_000_000, 46_000_000_001)]
},
BlockRarityInfo {
block_rarity: BlockRarity::Omega,
chunks: vec![
(45_999_999_999, 46_000_000_000),
]
chunks: vec![(45_999_999_999, 46_000_000_000),]
},
]
);
Expand Down Expand Up @@ -446,22 +442,15 @@ mod tests {
},
BlockRarityInfo {
block_rarity: BlockRarity::Palindrome,
chunks: vec![
(45099999054, 45099999055),
(45100000154, 45100000155)
]
chunks: vec![(45099999054, 45099999055), (45100000154, 45100000155)]
},
BlockRarityInfo {
block_rarity: BlockRarity::Alpha,
chunks: vec![
(45_100_000_000, 45_100_000_001)
]
chunks: vec![(45_100_000_000, 45_100_000_001)]
},
BlockRarityInfo {
block_rarity: BlockRarity::Omega,
chunks: vec![
(45_099_999_999, 45_100_000_000),
]
chunks: vec![(45_099_999_999, 45_100_000_000),]
},
]
);
Expand Down

0 comments on commit e37d2ff

Please sign in to comment.