mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-23 15:04:19 +01:00
lightningd: don't route private channels via real scid.
Again, we should use the real channel_type, but we approximate. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: Protocol: private channels will only route using short-channel-ids if channel opened with option_scid_alias-supporting peer.
This commit is contained in:
committed by
neil saitug
parent
cfe6b06fb5
commit
8a9ce55345
@@ -10,7 +10,8 @@
|
||||
/* AUTOGENERATED MOCKS START */
|
||||
/* Generated stub for any_channel_by_scid */
|
||||
struct channel *any_channel_by_scid(struct lightningd *ld UNNEEDED,
|
||||
const struct short_channel_id *scid UNNEEDED)
|
||||
const struct short_channel_id *scid UNNEEDED,
|
||||
bool privacy_leak_ok UNNEEDED)
|
||||
{ fprintf(stderr, "any_channel_by_scid called!\n"); abort(); }
|
||||
/* Generated stub for bitcoind_getutxout_ */
|
||||
void bitcoind_getutxout_(struct bitcoind *bitcoind UNNEEDED,
|
||||
|
||||
Reference in New Issue
Block a user