mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-02 20:54:23 +01:00
channel_id unknown at funding time. Needs to be node_id
No semantical change but when using the python lib for the rpc-api it is confusing that my developing environment suggests that I should fund a channel and pass a channel_id when in fact I want to pass a node_id
This commit is contained in:
committed by
Rusty Russell
parent
77d3ca3ea3
commit
5848a5c718
@@ -331,12 +331,12 @@ class LightningRpc(UnixDomainSocketRpc):
|
||||
}
|
||||
return self.call("listpeers", payload)
|
||||
|
||||
def fundchannel(self, channel_id, satoshi):
|
||||
def fundchannel(self, node_id, satoshi):
|
||||
"""
|
||||
Fund channel with {id} using {satoshi} satoshis"
|
||||
"""
|
||||
payload = {
|
||||
"id": channel_id,
|
||||
"id": node_id,
|
||||
"satoshi": satoshi
|
||||
}
|
||||
return self.call("fundchannel", payload)
|
||||
|
||||
Reference in New Issue
Block a user