mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
zeroconf: Add alias_remote and alias_local to channel and DB
`alias_local` is generated locally and sent to the peer so it knows what we're calling the channel, while `alias_remote` is received by the peer so we know what to include in routehints when generating invoices.
This commit is contained in:
@@ -1589,6 +1589,8 @@ static bool test_channel_inflight_crud(struct lightningd *ld, const tal_t *ctx)
|
||||
funding_sats, AMOUNT_MSAT(0),
|
||||
our_sats,
|
||||
0, false,
|
||||
NULL, /* alias[LOCAL] */
|
||||
NULL, /* alias[REMOTE] */
|
||||
&cid,
|
||||
AMOUNT_MSAT(3333333000),
|
||||
AMOUNT_MSAT(33333),
|
||||
|
||||
Reference in New Issue
Block a user