Fixed transaction propagation (#850)

This commit is contained in:
Arkadiy Paronyan
2018-09-30 17:48:41 +02:00
committed by Gav Wood
parent cad28aa283
commit a5a7dd2480
7 changed files with 39 additions and 6 deletions
+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");
}
}
}