mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-08 07:34:20 +01:00
common/onion: add blinding and enctlv encoding.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -89,13 +89,16 @@ static void do_generate(int argc, char **argv,
|
||||
take(onion_final_hop(NULL,
|
||||
use_tlv,
|
||||
amt, i, amt,
|
||||
NULL, NULL,
|
||||
NULL)));
|
||||
else
|
||||
sphinx_add_hop(sp, &path[i],
|
||||
take(onion_nonfinal_hop(NULL,
|
||||
use_tlv,
|
||||
&scid,
|
||||
amt, i)));
|
||||
amt, i,
|
||||
NULL,
|
||||
NULL)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user