mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
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:
parent
ee303e4a94
commit
aa62ae3385
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user