From 1d77d6d3c67770571d29e8eb150de00873ad4fbd Mon Sep 17 00:00:00 2001 From: satan Date: Mon, 11 Nov 2024 17:26:40 +0100 Subject: [PATCH] Removed unnecessary shielded wallet save --- crates/apps_lib/src/client/rpc.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/apps_lib/src/client/rpc.rs b/crates/apps_lib/src/client/rpc.rs index 1f78e27376..f1daf9d04a 100644 --- a/crates/apps_lib/src/client/rpc.rs +++ b/crates/apps_lib/src/client/rpc.rs @@ -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