Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
kylezs committed Oct 23, 2024
1 parent 4796b3d commit c3bd435
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions state-chain/runtime/src/chainflip/solana_elections.rs
Original file line number Diff line number Diff line change
Expand Up @@ -761,15 +761,15 @@ impl SolanaNonceWatch for SolanaNonceTrackingTrigger {
nonce_account: SolAddress,
previous_nonce_value: SolHash,
) -> DispatchResult {
Ok(pallet_cf_elections::Pallet::<Runtime, SolanaInstance>::with_status_check(|| {
pallet_cf_elections::Pallet::<Runtime, SolanaInstance>::with_status_check(|| {
SolanaNonceTracking::watch_for_change::<
DerivedElectoralAccess<
_,
SolanaNonceTracking,
RunnerStorageAccess<Runtime, SolanaInstance>,
>,
>(nonce_account, previous_nonce_value)
})?)
})
}
}

Expand All @@ -779,14 +779,14 @@ impl ElectionEgressWitnesser for SolanaEgressWitnessingTrigger {
type Chain = SolanaCrypto;

fn watch_for_egress_success(signature: SolSignature) -> DispatchResult {
Ok(pallet_cf_elections::Pallet::<Runtime, SolanaInstance>::with_status_check(|| {
pallet_cf_elections::Pallet::<Runtime, SolanaInstance>::with_status_check(|| {
SolanaEgressWitnessing::watch_for_egress::<
DerivedElectoralAccess<
_,
SolanaEgressWitnessing,
RunnerStorageAccess<Runtime, SolanaInstance>,
>,
>(signature)
})?)
})
}
}

0 comments on commit c3bd435

Please sign in to comment.