pay: don't timeout, wait until we've succeeded or failed.

Fixes: #2629
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2019-05-21 09:54:26 +09:30
parent ee303e4a94
commit aa62ae3385

View File

@ -273,7 +273,7 @@ static struct command_result *sendpay_done(struct command *cmd,
{
return send_outreq(cmd, "waitsendpay",
waitsendpay_done, waitsendpay_error, pc,
"'payment_hash': '%s', 'timeout': 60",
"'payment_hash': '%s'",
pc->payment_hash);
}