pylightning: label is required for waitinvoice()

This patch make sure label don't have default value.
This commit is contained in:
Douglas Schilling Landgraf 2018-03-01 22:29:10 -05:00 committed by Christian Decker
parent 35ce13179c
commit ef34efa93f

View File

@ -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}
""" """