Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
haerdib committed Sep 12, 2024
1 parent 01e881a commit d3d14b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/async/examples/staking_batch_payout_untested.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async fn main() {
// Sidenote: We could theoretically force a new era with sudo, but this takes at least 10 minutes ( = 1 epoch) in the
// kitchensink rutime. We don't want to wait that long.
let payout_staker_xt = api.payout_stakers(0, validator_stash).await.unwrap();
let result = api.submit_and_watch_extrinsic_until(payout_staker_xt, XtStatus::InBlock).await;
let _result = api.submit_and_watch_extrinsic_until(payout_staker_xt, XtStatus::InBlock).await;

if let Some(mut last_reward_received_at_era) =
get_last_reward_received_for(&validator_account, current_era_index, &api).await
Expand Down

0 comments on commit d3d14b6

Please sign in to comment.