Remove redundant calls to clone
No need to clone copy types, found by clippy.
This commit is contained in:
@@ -804,7 +804,7 @@ mod test {
|
||||
.coin_select(
|
||||
&database,
|
||||
vec![],
|
||||
utxos.clone(),
|
||||
utxos,
|
||||
FeeRate::from_sat_per_vb(1.0),
|
||||
99932, // first utxo's effective value
|
||||
0.0,
|
||||
|
||||
@@ -678,7 +678,7 @@ mod test {
|
||||
use std::str::FromStr;
|
||||
|
||||
let original_tx = ordering_test_tx!();
|
||||
let mut tx = original_tx.clone();
|
||||
let mut tx = original_tx;
|
||||
|
||||
TxOrdering::BIP69Lexicographic.sort_tx(&mut tx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user