Skip to content

Commit

Permalink
chore: enable nut-08 in /info
Browse files Browse the repository at this point in the history
  • Loading branch information
ngutech21 committed Dec 5, 2023
1 parent 5f2bb6d commit 0789140
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion moksha-mint/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ async fn get_legacy_info(
"NUT-04".to_string(),
"NUT-05".to_string(),
"NUT-06".to_string(),
"NUT-08".to_string(),
"NUT-09".to_string(),
],
motd: mint.mint_info.motd,
Expand Down Expand Up @@ -494,7 +495,7 @@ mod tests {
let body = response.into_body().collect().await.unwrap().to_bytes();
let info = serde_json::from_slice::<MintInfoResponse>(&body)?;
assert!(!info.parameter.peg_out_only);
assert_eq!(info.nuts.len(), 8);
assert_eq!(info.nuts.len(), 9);
assert_eq!(info.name, Some("Bob's Cashu mint".to_string()));
assert_eq!(info.description, Some("A mint for testing".to_string()));
assert_eq!(
Expand Down

0 comments on commit 0789140

Please sign in to comment.