Skip to content

Commit

Permalink
fx sort tip logic and typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jackzhhuang committed Jan 16, 2025
1 parent 01d0f04 commit f2953b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/src/miner_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub struct MinerConfig {
base: Option<Arc<BaseConfig>>,

#[serde(skip_serializing_if = "Option::is_none")]
#[clap(long = "maximum-parents_count")]
#[clap(long = "maximum-parents-count")]
pub maximum_parents_count: Option<u64>,
}

Expand Down
2 changes: 1 addition & 1 deletion flexidag/src/blockdag.rs
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ impl BlockDAG {
let b_blue_work = self
.storage
.ghost_dag_store
.get_blue_work(*a)
.get_blue_work(*b)
.unwrap_or_else(|e| {
panic!(
"the ghostdag data should be existed for {:?}, e: {:?}",
Expand Down

0 comments on commit f2953b1

Please sign in to comment.