chore: fix formatting

This commit is contained in:
thesimplekid
2024-08-11 10:12:21 -04:00
parent da1acc4e6d
commit e57c7f1e9d
4 changed files with 41 additions and 31 deletions

View File

@@ -50,6 +50,7 @@
- cdk(cdk-database/mint): Add `get_blinded_signatures_for_keyset` to get all blind signatures for a `keyset_id` ([thesimplekid]).
- cdk(mint): Add `total_issued` and `total_redeamed` ([thesimplekid]).
- cdk(cdk-database/mint) Add `get_proofs_by_keyset_id` ([thesimplekid]).
- cdk(wallet/mint): Add `mint_icon_url` ([cjbeery24])
### Fixed
- cdk(mint): `SIG_ALL` is not allowed in `melt` ([thesimplekid]).
@@ -109,3 +110,4 @@ Additionally, this release introduces a Mint binary cdk-mintd that uses the cdk-
[thesimplekid]: https://github.com/thesimplekid
[davidcaseria]: https://github.com/davidcaseria
[vnprc]: https://github.com/vnprc
[cjberry24]: https://github.com/cjbeery24

View File

@@ -65,8 +65,17 @@ impl WalletDatabase for WalletSqliteDatabase {
mint_url: UncheckedUrl,
mint_info: Option<MintInfo>,
) -> Result<(), Self::Err> {
let (name, pubkey, version, description, description_long, contact, nuts, mint_icon_url, motd) =
match mint_info {
let (
name,
pubkey,
version,
description,
description_long,
contact,
nuts,
mint_icon_url,
motd,
) = match mint_info {
Some(mint_info) => {
let MintInfo {
name,

View File

@@ -4,11 +4,10 @@ use std::num::ParseIntError;
use thiserror::Error;
use super::multi_mint_wallet::WalletKey;
use crate::cdk_database;
use crate::error::{ErrorCode, ErrorResponse};
use super::multi_mint_wallet::WalletKey;
/// Wallet Error
#[derive(Debug, Error)]
pub enum Error {