reject wrong slate states in receive and finalize (#807)

This commit is contained in:
wiesche
2026-09-14 21:08:36 +02:00
committed by GitHub
parent ffcdf7831b
commit e5e319b47e
4 changed files with 95 additions and 0 deletions
+3
View File
@@ -66,6 +66,9 @@ where
K: Keychain,
{
let mut ret_slate = slate.clone();
if ret_slate.state != SlateState::Standard1 {
return Err(Error::SlateState);
}
check_ttl(w, &ret_slate)?;
let parent_key_id = match dest_acct_name {
Some(d) => {