Use consistent field ordering

Clippy emits:

  warning: struct constructor field order is inconsistent with struct
  definition field order

As suggested, re-order the fields to be consistent with the struct
definition.
This commit is contained in:
Tobin Harding committed 2021-05-11 10:51:44 +10:00
1 parent de811bea30
commit de40351710
1 file changed
+1 -1
+1 -1
View File
@@ -255,8 +255,8 @@ impl OutputGroup {
let effective_value = weighted_utxo.utxo.txout().value as i64 - fee.ceil() as i64;
OutputGroup {
weighted_utxo,
effective_value,
fee,
effective_value,
}
}
}