Skip to content

Commit

Permalink
Removed unnecessary shielded wallet save
Browse files Browse the repository at this point in the history
  • Loading branch information
batconjurer committed Nov 11, 2024
1 parent 1c393fa commit 1d77d6d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/apps_lib/src/client/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,6 @@ pub async fn query_rewards_estimate(
) {
let mut shielded = context.shielded_mut().await;
let _ = shielded.load().await;
// Save the update state so that future fetches can be short-circuited
let _ = shielded.save().await;
let rewards_estimate = shielded
.estimate_next_epoch_rewards(context, &args.owner.as_viewing_key())
.await
Expand Down

0 comments on commit 1d77d6d

Please sign in to comment.