mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-23 23:55:01 +01:00
chore: fix formatting
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user