소스 검색

feat: add msat from string

thesimplekid 11 달 전
부모
커밋
545d2c822d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      crates/cdk/src/nuts/nut00.rs

+ 1 - 0
crates/cdk/src/nuts/nut00.rs

@@ -199,6 +199,7 @@ where
         match currency.as_ref() {
             "sat" => Self::Sat,
             "usd" => Self::Usd,
+            "msat" => Self::Msat,
             o => Self::Custom(o.to_string()),
         }
     }