Fix transactions not being propagated to authorities (#8212)

This commit is contained in:
Pierre Krieger
2021-02-26 16:09:42 +01:00
committed by GitHub
parent 5013e7630e
commit 2bd41a0251
+1 -1
View File
@@ -439,7 +439,7 @@ impl<B: BlockT + 'static, H: ExHashT> TransactionsHandler<B, H> {
for (who, peer) in self.peers.iter_mut() { for (who, peer) in self.peers.iter_mut() {
// never send transactions to the light node // never send transactions to the light node
if !matches!(peer.role, ObservedRole::Full) { if matches!(peer.role, ObservedRole::Light) {
continue; continue;
} }