Clippy easy wins 1 (#596)

This commit is contained in:
trevyn
2021-03-17 10:51:53 -04:00
committed by GitHub
parent 4e4880be8e
commit a88a522f84
6 changed files with 13 additions and 40 deletions
+1 -1
View File
@@ -908,7 +908,7 @@ where
let mut slate = Slate::blank(2, false);
slate.tx = Some(tx.clone());
slate.fee_fields = tx.aggregate_fee_fields(2 * YEAR_HEIGHT).unwrap(); // apply fee mask past HF4
slate.id = id.clone();
slate.id = id;
slate.offset = tx.offset;
slate.state = SlateState::Standard3;
Ok(Some(slate))