mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 00:54:20 +01:00
plugins/libplugin-pay: hack in blinded path support.
We simply take the first one, and route to the start of that. Then we append the blinded path to the onion construction. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
8720bbedae
commit
01a47720c3
@@ -174,6 +174,8 @@ static struct command_result *json_keysend(struct command *cmd, const char *buf,
|
||||
p->destination = tal_steal(p, destination);
|
||||
p->payment_secret = NULL;
|
||||
p->payment_metadata = NULL;
|
||||
p->blindedpath = NULL;
|
||||
p->blindedpay = NULL;
|
||||
p->amount = *msat;
|
||||
p->routes = tal_steal(p, hints);
|
||||
// 22 is the Rust-Lightning default and the highest minimum we know of.
|
||||
|
||||
Reference in New Issue
Block a user