Browse Source

pylightning: label is required for waitinvoice()

This patch make sure label don't have default value.
ppa-0.6.1
Douglas Schilling Landgraf 7 years ago
committed by Christian Decker
parent
commit
ef34efa93f
  1. 2
      contrib/pylightning/lightning/lightning.py

2
contrib/pylightning/lightning/lightning.py

@ -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…
Cancel
Save