Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
nkysg committed Apr 15, 2024
1 parent 42e8e97 commit 2c1dfa9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vm/vm-runtime/src/force_upgrade_management.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ use starcoin_vm_types::genesis_config::ChainId;
pub const FORCE_UPGRADE_BLOCK_NUMBER: u64 = 17500000;

pub fn get_force_upgrade_block_number(chain_id: &ChainId) -> u64 {
if chain_id.is_test() {
5
} else if chain_id.is_dev() {
if chain_id.is_test() || chain_id.is_dev() {
5
} else if chain_id.is_halley() || chain_id.is_proxima() {
300
Expand Down

0 comments on commit 2c1dfa9

Please sign in to comment.