Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
ngutech21 committed Dec 6, 2023
1 parent 2b4a7aa commit 320b199
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions moksha-core/src/primitives.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,10 @@ mod tests {
};

#[test]
fn test_serialize_empty_split_response() -> anyhow::Result<()> {
fn test_serialize_empty_swap_response() -> anyhow::Result<()> {
let response = PostSwapResponse::default();
let serialized = serde_json::to_string(&response)?;
assert_eq!(serialized, "{\"promises\":[]}");
assert_eq!(serialized, "{\"signatures\":[]}");
Ok(())
}

Expand Down
1 change: 0 additions & 1 deletion moksha-mint/src/mint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use moksha_core::{
blind::{BlindedMessage, BlindedSignature, TotalAmount},
dhke::Dhke,
keyset::MintKeyset,
primitives::PostSwapResponse,
proof::Proofs,
};

Expand Down
1 change: 0 additions & 1 deletion moksha-wallet/src/client/reqwest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ use moksha_core::{
primitives::{
CashuErrorResponse, CheckFeesRequest, CheckFeesResponse, PaymentRequest, PostMeltRequest,
PostMeltResponse, PostMintRequest, PostMintResponse, PostSplitRequest, PostSplitResponse,
PostSwapResponse,
},
proof::Proofs,
};
Expand Down
1 change: 0 additions & 1 deletion moksha-wallet/src/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,6 @@ mod tests {
use moksha_core::keyset::{Keysets, MintKeyset};
use moksha_core::primitives::{
CheckFeesResponse, PaymentRequest, PostMeltResponse, PostMintResponse, PostSplitResponse,
PostSwapResponse,
};
use moksha_core::proof::Proofs;
use moksha_core::token::{Token, TokenV3};
Expand Down

0 comments on commit 320b199

Please sign in to comment.