Skip to content

Commit 7dd28c8

Browse files
committed
lint
1 parent d1e1a6a commit 7dd28c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validator_manager/src/import_validators.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ async fn run(config: ImportConfig) -> Result<(), String> {
255255
})?;
256256

257257
// Log the overridden note when one or more flags is supplied
258-
if validators.len() > 0 {
258+
if !validators.is_empty() {
259259
if let Some(override_fee_recipient) = fee_recipient {
260260
eprintln!(
261261
"Please note! --suggested-fee-recipient is provided. This will override existing fee recipient defined in validators.json with: {:?}",

0 commit comments

Comments
 (0)