mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-24 02:18:32 +02:00
reject wrong slate states in receive and finalize (#807)
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user