mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
doc: Update generated artifacts to match master
This commit is contained in:
@@ -672,7 +672,9 @@
|
|||||||
"ListPays.pays[].destination": 3,
|
"ListPays.pays[].destination": 3,
|
||||||
"ListPays.pays[].erroronion": 10,
|
"ListPays.pays[].erroronion": 10,
|
||||||
"ListPays.pays[].label": 5,
|
"ListPays.pays[].label": 5,
|
||||||
|
"ListPays.pays[].number_of_parts": 14,
|
||||||
"ListPays.pays[].payment_hash": 1,
|
"ListPays.pays[].payment_hash": 1,
|
||||||
|
"ListPays.pays[].preimage": 13,
|
||||||
"ListPays.pays[].status": 2
|
"ListPays.pays[].status": 2
|
||||||
},
|
},
|
||||||
"ListpaysRequest": {
|
"ListpaysRequest": {
|
||||||
|
|||||||
@@ -1270,8 +1270,8 @@ message ListpaysPays {
|
|||||||
optional string bolt11 = 6;
|
optional string bolt11 = 6;
|
||||||
optional string description = 11;
|
optional string description = 11;
|
||||||
optional string bolt12 = 7;
|
optional string bolt12 = 7;
|
||||||
optional Amount amount_msat = 8;
|
optional bytes preimage = 13;
|
||||||
optional Amount amount_sent_msat = 9;
|
optional uint64 number_of_parts = 14;
|
||||||
optional bytes erroronion = 10;
|
optional bytes erroronion = 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -931,8 +931,8 @@ impl From<&responses::ListpaysPays> for pb::ListpaysPays {
|
|||||||
bolt11: c.bolt11.clone(), // Rule #2 for type string?
|
bolt11: c.bolt11.clone(), // Rule #2 for type string?
|
||||||
description: c.description.clone(), // Rule #2 for type string?
|
description: c.description.clone(), // Rule #2 for type string?
|
||||||
bolt12: c.bolt12.clone(), // Rule #2 for type string?
|
bolt12: c.bolt12.clone(), // Rule #2 for type string?
|
||||||
amount_msat: c.amount_msat.map(|f| f.into()), // Rule #2 for type msat?
|
preimage: c.preimage.as_ref().map(|v| hex::decode(&v).unwrap()), // Rule #2 for type hex?
|
||||||
amount_sent_msat: c.amount_sent_msat.map(|f| f.into()), // Rule #2 for type msat?
|
number_of_parts: c.number_of_parts.clone(), // Rule #2 for type u64?
|
||||||
erroronion: c.erroronion.as_ref().map(|v| hex::decode(&v).unwrap()), // Rule #2 for type hex?
|
erroronion: c.erroronion.as_ref().map(|v| hex::decode(&v).unwrap()), // Rule #2 for type hex?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2739,10 +2739,10 @@ pub mod responses {
|
|||||||
pub description: Option<String>,
|
pub description: Option<String>,
|
||||||
#[serde(alias = "bolt12", skip_serializing_if = "Option::is_none")]
|
#[serde(alias = "bolt12", skip_serializing_if = "Option::is_none")]
|
||||||
pub bolt12: Option<String>,
|
pub bolt12: Option<String>,
|
||||||
#[serde(alias = "amount_msat", skip_serializing_if = "Option::is_none")]
|
#[serde(alias = "preimage", skip_serializing_if = "Option::is_none")]
|
||||||
pub amount_msat: Option<Amount>,
|
pub preimage: Option<String>,
|
||||||
#[serde(alias = "amount_sent_msat", skip_serializing_if = "Option::is_none")]
|
#[serde(alias = "number_of_parts", skip_serializing_if = "Option::is_none")]
|
||||||
pub amount_sent_msat: Option<Amount>,
|
pub number_of_parts: Option<u64>,
|
||||||
#[serde(alias = "erroronion", skip_serializing_if = "Option::is_none")]
|
#[serde(alias = "erroronion", skip_serializing_if = "Option::is_none")]
|
||||||
pub erroronion: Option<String>,
|
pub erroronion: Option<String>,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user