open_channel_with_peer: return funding tx
(this makes things easier the just_in_time_channels branch)
This commit is contained in:
@@ -1141,7 +1141,7 @@ class Commands:
|
||||
funding_sat = satoshis(amount)
|
||||
push_sat = satoshis(push_amount)
|
||||
peer = await wallet.lnworker.add_peer(connection_string)
|
||||
chan = await wallet.lnworker.open_channel_with_peer(peer, funding_sat, push_sat, password)
|
||||
chan, funding_tx = await wallet.lnworker.open_channel_with_peer(peer, funding_sat, push_sat, password)
|
||||
return chan.funding_outpoint.to_str()
|
||||
|
||||
@command('')
|
||||
|
||||
Reference in New Issue
Block a user