feat: tip frame (sign/verify/encode/decode), wallet balance + receive address, F6 wallet screen with QR, dispatch Kind::Tip
Some checks failed
ci / test (push) Failing after 9m39s
ci / sdk (push) Failing after 20s

This commit is contained in:
agent 2026-09-12 22:53:58 -04:00
commit 10d81964a5
No known key found for this signature in database
10 changed files with 511 additions and 24 deletions

View file

@ -746,8 +746,8 @@ impl Store {
if p.dir != "in" && p.dir != "out" {
return Err(Error("dir must be in or out".into()));
}
if p.kind != "invoice" && p.kind != "receipt" {
return Err(Error("kind must be invoice or receipt".into()));
if p.kind != "invoice" && p.kind != "receipt" && p.kind != "tip" {
return Err(Error("kind must be invoice, receipt, or tip".into()));
}
crate::pay::parse_atomic(p.amount_atomic).map_err(|e| Error(e.to_string()))?;
crate::pay::check_address(p.address).map_err(|e| Error(e.to_string()))?;