Skip to content

Commit

Permalink
chore: reverse create_id
Browse files Browse the repository at this point in the history
  • Loading branch information
stringhandler committed Nov 10, 2023
1 parent 26e010a commit 7bd655f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions applications/tari_validator_node/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ pub struct ValidatorNodeConfig {
/// Fee claim public key
pub fee_claim_public_key: RistrettoPublicKey,
/// Create identity file if not exists
pub create_id: bool,
pub dont_create_id: bool,
}

impl ValidatorNodeConfig {
Expand Down Expand Up @@ -156,7 +156,7 @@ impl Default for ValidatorNodeConfig {
no_fees: false,
// Burn your fees
fee_claim_public_key: RistrettoPublicKey::default(),
create_id: true,
dont_create_id: false,
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion applications/tari_validator_node/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ pub async fn run_validator_node(config: &ApplicationConfig, shutdown_signal: Shu
let node_identity = setup_node_identity(
&config.validator_node.identity_file,
config.validator_node.public_address.iter().cloned().collect::<Vec<_>>(),
config.validator_node.create_id,
!config.validator_node.dont_create_id,
DAN_PEER_FEATURES,
)?;

Expand Down

0 comments on commit 7bd655f

Please sign in to comment.