You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ci/check-lint.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -110,4 +110,4 @@ CLIPPY() {
110
110
111
111
CLIPPY
112
112
# We allow some additional warnings in tests which we should fix, but which aren't currently a priority
113
-
CLIPPY --tests "-A clippy::bool_assert_comparison -A clippy::assertions_on_constants -A clippy::needless-late-init -A clippy::field_reassign_with_default -A clippy::unnecessary_literal_unwrap -A clippy::useless_vec"
113
+
CLIPPY --tests "-A clippy::bool_assert_comparison -A clippy::assertions_on_constants -A clippy::needless-late-init -A clippy::field_reassign_with_default -A clippy::unnecessary_literal_unwrap"
Copy file name to clipboardExpand all lines: lightning/src/chain/channelmonitor.rs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6260,7 +6260,7 @@ mod tests {
6260
6260
value:Amount::ZERO,
6261
6261
});
6262
6262
let base_weight = claim_tx.weight().to_wu();
6263
-
let inputs_weight = vec![WEIGHT_REVOKED_OUTPUT, weight_revoked_offered_htlc(channel_type_features), weight_revoked_offered_htlc(channel_type_features), weight_revoked_received_htlc(channel_type_features)];
6263
+
let inputs_weight = [WEIGHT_REVOKED_OUTPUT,weight_revoked_offered_htlc(channel_type_features),weight_revoked_offered_htlc(channel_type_features),weight_revoked_received_htlc(channel_type_features)];
let inputs_weight = vec![weight_offered_htlc(channel_type_features), weight_received_htlc(channel_type_features), weight_received_htlc(channel_type_features), weight_received_htlc(channel_type_features)];
6295
+
let inputs_weight = [weight_offered_htlc(channel_type_features),weight_received_htlc(channel_type_features),weight_received_htlc(channel_type_features),weight_received_htlc(channel_type_features)];
0 commit comments