Skip to content

Commit de40351

Browse files
committed
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.
1 parent de811be commit de40351

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/coin_selection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,8 @@ impl OutputGroup {
255255
let effective_value = weighted_utxo.utxo.txout().value as i64 - fee.ceil() as i64;
256256
OutputGroup {
257257
weighted_utxo,
258-
effective_value,
259258
fee,
259+
effective_value,
260260
}
261261
}
262262
}

0 commit comments

Comments
 (0)