crypto: Don't panic if we get a unknown cancel code
This commit is contained in:
parent
612fa46359
commit
31e00eb434
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ impl Cancelled {
|
|||
}
|
||||
CancelCode::User => "The user cancelled the verification.",
|
||||
CancelCode::UserMismatch => "The expected user did not match the verified user",
|
||||
_ => unimplemented!(),
|
||||
_ => "Unknown cancel reason",
|
||||
};
|
||||
|
||||
Self { cancel_code: code, reason }
|
||||
|
|
Loading…
Reference in a new issue