doc: document pay localofferid field.

Fixes: #4665
Reported-by: @shesek
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2022-04-02 12:49:05 +10:30
parent 92028ebaee
commit 713cd0540d
2 changed files with 8 additions and 2 deletions

View File

@@ -997,7 +997,7 @@ class LightningRpc(UnixDomainSocketRpc):
def pay(self, bolt11, msatoshi=None, label=None, riskfactor=None,
maxfeepercent=None, retry_for=None,
maxdelay=None, exemptfee=None, exclude=None):
maxdelay=None, exemptfee=None, localofferid=None, exclude=None):
"""
Send payment specified by {bolt11} with {msatoshi}
(ignored if {bolt11} has an amount), optional {label}
@@ -1012,6 +1012,7 @@ class LightningRpc(UnixDomainSocketRpc):
"retry_for": retry_for,
"maxdelay": maxdelay,
"exemptfee": exemptfee,
"localofferid": localofferid,
"exclude": exclude,
}
return self.call("pay", payload)