Skip to content

Commit b0f0063

Browse files
committed
Fix clippy
1 parent 853142d commit b0f0063

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

runtimes/kusama/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ fn process_input(accounts: &[AccountId], genesis: &Storage, data: &[u8]) {
177177
matches!(call.clone(), RuntimeCall::System(_))
178178
|| matches!(call.clone(), RuntimeCall::Vesting(pallet_vesting::Call::vested_transfer { .. }))
179179
|| matches!(call.clone(), RuntimeCall::VoterList(pallet_bags_list::Call::rebag { .. }))
180-
|| matches!(call.clone(), RuntimeCall::Treasury(pallet_treasury::Call::spend { valid_from, .. }) if valid_from.unwrap_or(0) >= 4200000000)
180+
|| matches!(call.clone(), RuntimeCall::Treasury(pallet_treasury::Call::spend { valid_from, .. }) if valid_from.unwrap_or(0) >= 4_200_000_000)
181181
|| matches!(
182182
&call,
183183
RuntimeCall::Referenda(pallet_referenda::Call::submit {

runtimes/polkadot/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ fn process_input(accounts: &[AccountId], genesis: &Storage, data: &[u8]) {
175175
matches!(call.clone(), RuntimeCall::System(_))
176176
|| matches!(call.clone(), RuntimeCall::VoterList(pallet_bags_list::Call::rebag { .. }))
177177
|| matches!(call.clone(), RuntimeCall::Vesting(pallet_vesting::Call::vested_transfer { .. }))
178-
|| matches!(call.clone(), RuntimeCall::Treasury(pallet_treasury::Call::spend { valid_from, .. }) if valid_from.unwrap_or(0) >= 4200000000)
178+
|| matches!(call.clone(), RuntimeCall::Treasury(pallet_treasury::Call::spend { valid_from, .. }) if valid_from.unwrap_or(0) >= 4_200_000_000)
179179
|| matches!(
180180
&call,
181181
RuntimeCall::Referenda(pallet_referenda::Call::submit {

0 commit comments

Comments
 (0)