mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +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)
|
||||
|
||||
def waitinvoice(self, label=None):
|
||||
def waitinvoice(self, label):
|
||||
"""
|
||||
Wait for an incoming payment matching the invoice with {label}
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user