Merge pull request #957 from thesimplekid/bump_msrv_1.85

feat: bump msrv from 1.75.0 to 1.85.0
This commit is contained in:
thesimplekid
2025-08-13 22:13:51 +01:00
committed by GitHub
6 changed files with 23 additions and 39 deletions

View File

@@ -564,9 +564,8 @@ where
.bind("quote_id", quote_id.as_hyphenated().to_string())
.fetch_one(&self.inner)
.await
.map_err(|err| {
tracing::error!("SQLite could not get mint quote amount_paid");
err
.inspect_err(|err| {
tracing::error!("SQLite could not get mint quote amount_paid: {}", err);
})?;
let current_amount_paid = if let Some(current_amount) = current_amount {
@@ -593,9 +592,8 @@ where
.bind("quote_id", quote_id.as_hyphenated().to_string())
.execute(&self.inner)
.await
.map_err(|err| {
tracing::error!("SQLite could not update mint quote amount_paid");
err
.inspect_err(|err| {
tracing::error!("SQLite could not update mint quote amount_paid: {}", err);
})?;
// Add payment_id to mint_quote_payments table
@@ -638,9 +636,8 @@ where
.bind("quote_id", quote_id.as_hyphenated().to_string())
.fetch_one(&self.inner)
.await
.map_err(|err| {
tracing::error!("SQLite could not get mint quote amount_issued");
err
.inspect_err(|err| {
tracing::error!("SQLite could not get mint quote amount_issued: {}", err);
})?;
let current_amount_issued = if let Some(current_amount) = current_amount {
@@ -668,9 +665,8 @@ where
.bind("quote_id", quote_id.as_hyphenated().to_string())
.execute(&self.inner)
.await
.map_err(|err| {
tracing::error!("SQLite could not update mint quote amount_issued");
err
.inspect_err(|err| {
tracing::error!("SQLite could not update mint quote amount_issued: {}", err);
})?;
let current_time = unix_time();