From de4035171016bd625656efe7acb7db43433fe48c Mon Sep 17 00:00:00 2001 From: Tobin Harding Date: Thu, 6 May 2021 14:34:22 +1000 Subject: [PATCH] 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. --- src/wallet/coin_selection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/coin_selection.rs b/src/wallet/coin_selection.rs index 5653662d..f2e2ca5f 100644 --- a/src/wallet/coin_selection.rs +++ b/src/wallet/coin_selection.rs @@ -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, } } }