You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// this function checks if the the channel announcements and updates are allowed to be forwarded to a specific peer.
114
+
/// If the peer is in syncing state and the channel_id has not been synced then the function returns false as this info will forward at a later stage and
115
+
/// we dont want to send duplicate messages. If the channel was already synced then we can forward those messages and the function will then return true.
if !peer.channel_encryptor.is_ready_for_encryption() || peer.their_global_features.is_none(){
918
+
if !peer.channel_encryptor.is_ready_for_encryption() || peer.their_global_features.is_none()||!peer.is_channel_allowed_to_forward(msg.short_channel_id){
0 commit comments