mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
pylightning: label is required for waitinvoice()
This patch make sure label don't have default value.
This commit is contained in:
parent
35ce13179c
commit
ef34efa93f
@ -193,7 +193,7 @@ class LightningRpc(UnixDomainSocketRpc):
|
|||||||
}
|
}
|
||||||
return self.call("waitanyinvoice", payload)
|
return self.call("waitanyinvoice", payload)
|
||||||
|
|
||||||
def waitinvoice(self, label=None):
|
def waitinvoice(self, label):
|
||||||
"""
|
"""
|
||||||
Wait for an incoming payment matching the invoice with {label}
|
Wait for an incoming payment matching the invoice with {label}
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user