Fixed transaction propagation (#850)

This commit is contained in:
Arkadiy Paronyan authored and Gav Wood committed 2018-09-30 16:48:41 +01:00
1 parent cad28aa283
commit a5a7dd2480
7 files changed
+39 -6

No files matched your search

+2
View File
@@ -472,6 +472,8 @@ impl<B: BlockT, S: Specialization<B>, H: ExHashT> Protocol<B, S, H> {
for t in extrinsics {
if let Some(hash) = self.transaction_pool.import(&t) {
peer.known_extrinsics.insert(hash);
} else {
trace!(target: "sync", "Extrinsic rejected");
}
}
}