Update mempool::Storage tests to not use Clone

This commit is contained in:
Deirdre Connolly 2021-09-13 21:14:08 -04:00
parent ccbbb36f7f
commit ec74f7a821
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ fn mempool_storage_crud_mainnet() {
let _ = storage.insert(unmined_tx.clone());
// Check that it is in the mempool, and not rejected.
assert!(storage.clone().contains(&unmined_tx.id));
assert!(storage.contains(&unmined_tx.id));
// Remove tx
let _ = storage.remove(&unmined_tx.id);