mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-20 13:54:36 +01:00
doc: Fix wrong_funding description in manpage and type in schema
This commit is contained in:
parent
0868fa9f1e
commit
775d6ba193
5 changed files with 5 additions and 5 deletions
2
cln-grpc/proto/node.proto
generated
2
cln-grpc/proto/node.proto
generated
|
@ -403,7 +403,7 @@ message CloseRequest {
|
|||
optional uint32 unilateraltimeout = 2;
|
||||
optional string destination = 3;
|
||||
optional string fee_negotiation_step = 4;
|
||||
optional bytes wrong_funding = 5;
|
||||
optional Outpoint wrong_funding = 5;
|
||||
optional bool force_lease_closed = 6;
|
||||
repeated Feerate feerange = 7;
|
||||
}
|
||||
|
|
2
cln-grpc/src/convert.rs
generated
2
cln-grpc/src/convert.rs
generated
|
@ -1080,7 +1080,7 @@ impl From<&pb::CloseRequest> for requests::CloseRequest {
|
|||
unilateraltimeout: c.unilateraltimeout.clone(), // Rule #1 for type u32?
|
||||
destination: c.destination.clone(), // Rule #1 for type string?
|
||||
fee_negotiation_step: c.fee_negotiation_step.clone(), // Rule #1 for type string?
|
||||
wrong_funding: c.wrong_funding.clone().map(|v| hex::encode(v)), // Rule #1 for type txid?
|
||||
wrong_funding: c.wrong_funding.clone(), // Rule #1 for type outpoint?
|
||||
force_lease_closed: c.force_lease_closed.clone(), // Rule #1 for type boolean?
|
||||
feerange: Some(c.feerange.iter().map(|s| s.into()).collect()), // Rule #4
|
||||
}
|
||||
|
|
2
cln-rpc/src/model.rs
generated
2
cln-rpc/src/model.rs
generated
|
@ -219,7 +219,7 @@ pub mod requests {
|
|||
#[serde(alias = "fee_negotiation_step", skip_serializing_if = "Option::is_none")]
|
||||
pub fee_negotiation_step: Option<String>,
|
||||
#[serde(alias = "wrong_funding", skip_serializing_if = "Option::is_none")]
|
||||
pub wrong_funding: Option<String>,
|
||||
pub wrong_funding: Option<Outpoint>,
|
||||
#[serde(alias = "force_lease_closed", skip_serializing_if = "Option::is_none")]
|
||||
pub force_lease_closed: Option<bool>,
|
||||
#[serde(alias = "feerange", skip_serializing_if = "crate::is_none_or_empty")]
|
||||
|
|
|
@ -50,7 +50,7 @@ we quickly accept the peer's proposal.
|
|||
|
||||
The default is "50%".
|
||||
|
||||
*wrong_funding_txid* can only be specified if both sides have offered
|
||||
*wrong_funding* can only be specified if both sides have offered
|
||||
the "shutdown_wrong_funding" feature (enabled by the
|
||||
**experimental-shutdown-wrong-funding** option): it must be a
|
||||
transaction id followed by a colon then the output number. Instead of
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
"description": ""
|
||||
},
|
||||
"wrong_funding": {
|
||||
"type": "txid",
|
||||
"type": "outpoint",
|
||||
"description": ""
|
||||
},
|
||||
"force_lease_closed": {
|
||||
|
|
Loading…
Add table
Reference in a new issue