Updated picard and qr things

This commit is contained in:
2026-01-30 21:03:52 +00:00
parent 9f2cc5f6ec
commit b6a03c6303
5 changed files with 8 additions and 2 deletions

View File

@@ -36,7 +36,13 @@ impl CryptoInvoice for MoneroInvoice {
}
fn validate(self) -> bool {
unimplemented!();
// TODO - actually do this properly - I think there's a checksum to check
// and should check the first chars are 4 or 8... and some more things
// probably only supper standard addresses too
if self.address.len() != 95 {
return false;
}
true
}
fn address(self) -> String {
self.address