Skip to content
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.

Commit

Permalink
Merge pull request #1116 from MutinyWallet/ignoring-message-gossip-fix
Browse files Browse the repository at this point in the history
Ignoring message gossip fix
  • Loading branch information
benthecarman authored Apr 5, 2024
2 parents 2ad2813 + 24053d7 commit 9fd490a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ opt-level = "z"
opt-level = "z"

[patch.crates-io]
lightning = { git = 'https://github.com/MutinyWallet/rust-lightning.git', rev = "f07ee8fbba109beffbec48a9ae229a5bbe1e9358" }
lightning-invoice = { git = 'https://github.com/MutinyWallet/rust-lightning.git', rev = "f07ee8fbba109beffbec48a9ae229a5bbe1e9358" }
lightning-rapid-gossip-sync = { git = 'https://github.com/MutinyWallet/rust-lightning.git', rev = "f07ee8fbba109beffbec48a9ae229a5bbe1e9358" }
lightning-background-processor = { git = 'https://github.com/MutinyWallet/rust-lightning.git', rev = "f07ee8fbba109beffbec48a9ae229a5bbe1e9358" }
lightning-transaction-sync = { git = 'https://github.com/MutinyWallet/rust-lightning.git', rev = "f07ee8fbba109beffbec48a9ae229a5bbe1e9358" }
lightning-net-tokio = { git = 'https://github.com/MutinyWallet/rust-lightning.git', rev = "f07ee8fbba109beffbec48a9ae229a5bbe1e9358" }
lightning = { git = 'https://github.com/MutinyWallet/rust-lightning.git', rev = "e82635b32458a77d28a5a23b664696422eb526e4" }
lightning-invoice = { git = 'https://github.com/MutinyWallet/rust-lightning.git', rev = "e82635b32458a77d28a5a23b664696422eb526e4" }
lightning-rapid-gossip-sync = { git = 'https://github.com/MutinyWallet/rust-lightning.git', rev = "e82635b32458a77d28a5a23b664696422eb526e4" }
lightning-background-processor = { git = 'https://github.com/MutinyWallet/rust-lightning.git', rev = "e82635b32458a77d28a5a23b664696422eb526e4" }
lightning-transaction-sync = { git = 'https://github.com/MutinyWallet/rust-lightning.git', rev = "e82635b32458a77d28a5a23b664696422eb526e4" }
lightning-net-tokio = { git = 'https://github.com/MutinyWallet/rust-lightning.git', rev = "e82635b32458a77d28a5a23b664696422eb526e4" }
4 changes: 3 additions & 1 deletion mutiny-core/src/peermanager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,9 @@ impl<S: MutinyStorage> RoutingMessageHandler for GossipMessageHandler<S> {
}

fn provided_init_features(&self, _their_node_id: &PublicKey) -> InitFeatures {
InitFeatures::empty()
let mut features = InitFeatures::empty();
features.set_gossip_queries_optional();
features
}
}

Expand Down

0 comments on commit 9fd490a

Please sign in to comment.