Ver Fonte

feat: add msat from string

thesimplekid há 11 meses atrás
pai
commit
545d2c822d
1 ficheiros alterados com 1 adições e 0 exclusões
  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()),
         }
     }