From 774af5f8176968be895e528586f5569da1daba93 Mon Sep 17 00:00:00 2001 From: ZmnSCPxj Date: Mon, 16 Apr 2018 12:43:13 +0000 Subject: [PATCH] payalgo: Describe `maxdelay` argument of `pay`. --- lightningd/payalgo.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lightningd/payalgo.c b/lightningd/payalgo.c index 1e51fc146..5b704f86a 100644 --- a/lightningd/payalgo.c +++ b/lightningd/payalgo.c @@ -750,7 +750,8 @@ static const struct json_command pay_command = { "(if and only if {bolt11} does not have amount), " "{description} (required if {bolt11} uses description hash), " "{riskfactor} (default 1.0), " - "{maxfeepercent} (default 0.5) the maximum acceptable fee as a percentage (e.g. 0.5 => 0.5%), and " - "{retry_for} (default 60) the integer number of seconds before we stop retrying" + "{maxfeepercent} (default 0.5) the maximum acceptable fee as a percentage (e.g. 0.5 => 0.5%), " + "{retry_for} (default 60) the integer number of seconds before we stop retrying, and " + "{maxdelay} (default 500) the maximum number of blocks we allow the funds to possibly get locked" }; AUTODATA(json_command, &pay_command);