rust: upgrade model with new checkmessage requirements

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
This commit is contained in:
Vincenzo Palazzo
2022-07-18 10:00:55 +00:00
committed by Christian Decker
parent ba4e870a1c
commit e70729b04b
3 changed files with 4 additions and 4 deletions

View File

@@ -1441,8 +1441,8 @@ pub mod responses {
pub struct CheckmessageResponse {
#[serde(alias = "verified")]
pub verified: bool,
#[serde(alias = "pubkey", skip_serializing_if = "Option::is_none")]
pub pubkey: Option<Pubkey>,
#[serde(alias = "pubkey")]
pub pubkey: Pubkey,
}
/// Whether we successfully negotiated a mutual close, closed without them, or discarded not-yet-opened channel