offers: don't call create_invoicereq twice.
We ignored the second one, but still it's unnecessary. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -353,7 +353,7 @@ static struct command_result *add_blindedpaths(struct command *cmd,
|
||||
struct invreq *ir)
|
||||
{
|
||||
if (!we_want_blinded_path(cmd->plugin))
|
||||
create_invoicereq(cmd, ir);
|
||||
return create_invoicereq(cmd, ir);
|
||||
|
||||
return find_best_peer(cmd, OPT_ROUTE_BLINDING,
|
||||
found_best_peer, ir);
|
||||
|
||||
Reference in New Issue
Block a user