Skip to content
This repository was archived by the owner on Jul 27, 2022. It is now read-only.

Commit 364a607

Browse files
fix clippy error
1 parent eb337ca commit 364a607

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chain-core/src/init/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ impl InitConfig {
353353
u64::from(self.network_params.required_council_node_stake)
354354
* self.council_nodes.len() as u64,
355355
)
356-
.map(|coin| TendermintVotePower::from(coin)) // sanity check
356+
.map(TendermintVotePower::from) // sanity check
357357
.map_err(|_| DistributionError::InvalidVotingPower)?;
358358

359359
// check the total amount

0 commit comments

Comments
 (0)