Fix up the pending set stuff.

This commit is contained in:
Gav Wood
2016-06-27 19:06:54 +02:00
parent 1667808ecb
commit 2a51a30d41
8 changed files with 70 additions and 40 deletions

View File

@@ -1314,7 +1314,7 @@ impl ChainSync {
return 0;
}
let mut transactions = io.chain().all_transactions();
let mut transactions = io.chain().pending_transactions();
if transactions.is_empty() {
return 0;
}