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
2021-05-06 14:34:22 +10:00
parent de811bea30
commit de40351710

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,
}
}
}