diff --git a/cardano/sdk/rust/src/mint_redeemer.rs b/cardano/sdk/rust/src/mint_redeemer.rs index 5a04b75..0b9a706 100644 --- a/cardano/sdk/rust/src/mint_redeemer.rs +++ b/cardano/sdk/rust/src/mint_redeemer.rs @@ -65,7 +65,9 @@ mod tests { #[test] fn test_mint_redeemer() { let mint_redeemer = vec![ - MintRedeemer::MintTokens { total: BigInt::from(253) }, + MintRedeemer::MintTokens { + total: BigInt::from(253), + }, MintRedeemer::BurnTokens, ]; for redeem in mint_redeemer.into_iter() { diff --git a/cardano/sdk/rust/src/state.rs b/cardano/sdk/rust/src/state.rs index 50e6ecb..ba65cf1 100644 --- a/cardano/sdk/rust/src/state.rs +++ b/cardano/sdk/rust/src/state.rs @@ -71,7 +71,10 @@ impl TryFrom for Owner { )] pub enum Status { Locked, - Unlocking { out_ref: OutRef, for_how_long: BigInt }, + Unlocking { + out_ref: OutRef, + for_how_long: BigInt, + }, } impl Status { diff --git a/cardano/sdk/wasm/src/lib.rs b/cardano/sdk/wasm/src/lib.rs index b90129b..e457481 100644 --- a/cardano/sdk/wasm/src/lib.rs +++ b/cardano/sdk/wasm/src/lib.rs @@ -53,7 +53,9 @@ impl MintRedeemer { pub fn as_mint_tokens(&self) -> Option { match &self.0 { - cardano_projected_nft_sdk::MintRedeemer::MintTokens{ total } => Some(total.clone().into()), + cardano_projected_nft_sdk::MintRedeemer::MintTokens { total } => { + Some(total.clone().into()) + } _ => None, } } @@ -371,7 +373,10 @@ impl Status { cardano_projected_nft_sdk::Status::Unlocking { out_ref, for_how_long, - } => Some(UnlockingStatus(out_ref.clone().into(), for_how_long.clone().into())), + } => Some(UnlockingStatus( + out_ref.clone().into(), + for_how_long.clone().into(), + )), _ => None, } }