From 07891400388df9b8036894b6fb8bb17350b4cfa8 Mon Sep 17 00:00:00 2001 From: ngutech21 Date: Tue, 5 Dec 2023 20:40:44 +0100 Subject: [PATCH] chore: enable nut-08 in /info --- moksha-mint/src/server.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/moksha-mint/src/server.rs b/moksha-mint/src/server.rs index ae049cc9..30ef2962 100644 --- a/moksha-mint/src/server.rs +++ b/moksha-mint/src/server.rs @@ -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, @@ -494,7 +495,7 @@ mod tests { let body = response.into_body().collect().await.unwrap().to_bytes(); let info = serde_json::from_slice::(&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!(