Explorar o código

feat: add msat from string

thesimplekid hai 11 meses
pai
achega
545d2c822d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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()),
         }
     }