mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
pylightning: label is required for waitinvoice()
This patch make sure label don't have default value.
This commit is contained in:
committed by
Christian Decker
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}
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user