|
@@ -70,7 +70,7 @@ impl Wallet {
|
|
|
|
|
|
|
|
/// Perform an async task, which is assumed to be a foreign mint call that can fail. If fails,
|
|
/// Perform an async task, which is assumed to be a foreign mint call that can fail. If fails,
|
|
|
/// the proofs used in the request are synchronize with the mint and update it locally
|
|
/// the proofs used in the request are synchronize with the mint and update it locally
|
|
|
- #[inline(always)]
|
|
|
|
|
|
|
+ #[inline]
|
|
|
pub(crate) fn try_proof_operation_or_reclaim<'a, F, R>(
|
|
pub(crate) fn try_proof_operation_or_reclaim<'a, F, R>(
|
|
|
&'a self,
|
|
&'a self,
|
|
|
inputs: Proofs,
|
|
inputs: Proofs,
|
|
@@ -102,13 +102,13 @@ impl Wallet {
|
|
|
|
|
|
|
|
if swap_reverted_proofs {
|
|
if swap_reverted_proofs {
|
|
|
tracing::error!(
|
|
tracing::error!(
|
|
|
- "Attempting to swap exposed {} proofs to new proofs",
|
|
|
|
|
|
|
+ "Checking proofs state for proofs {} used in failed op",
|
|
|
inputs.len()
|
|
inputs.len()
|
|
|
);
|
|
);
|
|
|
for proofs in inputs.chunks(BATCH_PROOF_SIZE) {
|
|
for proofs in inputs.chunks(BATCH_PROOF_SIZE) {
|
|
|
let _ = self.sync_proofs_state(proofs.to_owned()).await.inspect_err(
|
|
let _ = self.sync_proofs_state(proofs.to_owned()).await.inspect_err(
|
|
|
|err| {
|
|
|err| {
|
|
|
- tracing::warn!("Failed to swap exposed proofs ({})", err);
|
|
|
|
|
|
|
+ tracing::warn!("Failed to check exposed proofs ({})", err);
|
|
|
},
|
|
},
|
|
|
);
|
|
);
|
|
|
}
|
|
}
|