Fix transactions not being propagated to authorities (#8212)

This commit is contained in:
Pierre Krieger authored and GitHub committed 2021-02-26 15:09:42 +00:00
1 parent 5013e7630e
commit 2bd41a0251
1 file changed
+1 -1
+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() {
// never send transactions to the light node
if !matches!(peer.role, ObservedRole::Full) {
if matches!(peer.role, ObservedRole::Light) {
continue;
}