feat: add msat from string

This commit is contained in:
thesimplekid
2024-04-27 08:37:51 +01:00
parent 7c19eaea8f
commit 545d2c822d

View File

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