mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 15:44:21 +01:00
rpc: have fundchannel_start also return scriptpubkey
Easier to pass it back than dig it out of the address, since we have it. Needed for extracting fundchannel
This commit is contained in:
committed by
Rusty Russell
parent
19e65068a9
commit
b1f05795a8
@@ -34,7 +34,7 @@ transaction before that can lead to unrecoverable loss of funds\.
|
||||
|
||||
.SH RETURN VALUE
|
||||
|
||||
On success, returns the \fIfunding_address\fR for the channel\.
|
||||
On success, returns the \fIfunding_address\fR and the \fIscriptpubkey\fR for the channel funding output\.
|
||||
|
||||
|
||||
On failure, returns an error\.
|
||||
|
||||
@@ -32,7 +32,7 @@ transaction before that can lead to unrecoverable loss of funds.
|
||||
RETURN VALUE
|
||||
------------
|
||||
|
||||
On success, returns the *funding\_address* for the channel.
|
||||
On success, returns the *funding\_address* and the *scriptpubkey* for the channel funding output.
|
||||
|
||||
On failure, returns an error.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user