Prepare for txpool release. (#7741)

This commit is contained in:
Tomasz Drwięga
2018-01-31 07:28:28 +01:00
committed by Svyatoslav Nikolsky
parent afea11ede6
commit dae99cc53e
7 changed files with 26 additions and 8 deletions

View File

@@ -261,7 +261,7 @@ fn should_remove_transaction() {
assert_eq!(txq.light_status().transaction_count, 3);
// when
assert!(txq.remove(&tx2.hash(), false));
assert!(txq.remove(&tx2.hash(), false).is_some());
// then
assert_eq!(txq.light_status().transaction_count, 2);