You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace the send-all boolean with the typed exact-or-all protobuf
oneof used by channel funding. Accept "all" as the positional CLI and
MCP amount while preserving exact sends.
AI-assisted-by: OpenAI Codex
help = "The amount to send, e.g. 50sat or 50000msat, must be a whole sat amount, cannot send msats on-chain. Will respect any on-chain reserve needed for anchor channels"
119
+
help = "The amount to send, e.g. 50sat or 50000msat, or 'all' to use all available on-chain funds. Exact amounts must be a whole sat amount. Will respect any on-chain reserve needed for anchor channels"
120
120
)]
121
-
amount:Option<Amount>,
122
-
#[arg(
123
-
long,
124
-
help = "Send all available balance to the address while retaining on-chain reserves for anchor channels"
125
-
)]
126
-
send_all:Option<bool>,
121
+
amount:AmountOrAll,
127
122
#[arg(
128
123
long,
129
124
help = "Fee rate in satoshis per virtual byte. If not set, a reasonable estimate will be used"
0 commit comments