mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 15:44:21 +01:00
fundchannel: provide outnum
It's currently always 0, but it won't be once we replace txprepare. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: JSON-RPC: `fundchannel` has new `outnum` field indicating which output of the transaction funds the channel.
This commit is contained in:
committed by
neil saitug
parent
d2bd1f0fa9
commit
6b39731c6a
1
doc/lightning-fundchannel.7
generated
1
doc/lightning-fundchannel.7
generated
@@ -69,6 +69,7 @@ unrecoverable once pushed\.
|
||||
.SH RETURN VALUE
|
||||
|
||||
On success, the \fItx\fR and \fItxid\fR of the transaction is returned, as well
|
||||
as the \fIoutnum\fR indicating the output index which creates the channel, as well
|
||||
as the \fIchannel_id\fR of the newly created channel\. On failure, an error
|
||||
is reported and the channel is not funded\.
|
||||
|
||||
|
||||
@@ -64,6 +64,7 @@ RETURN VALUE
|
||||
------------
|
||||
|
||||
On success, the *tx* and *txid* of the transaction is returned, as well
|
||||
as the *outnum* indicating the output index which creates the channel, as well
|
||||
as the *channel\_id* of the newly created channel. On failure, an error
|
||||
is reported and the channel is not funded.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user