Remove redundant clones (#4485)

This commit is contained in:
JosepBove
2023-09-05 10:30:18 +02:00
committed by GitHub
parent 1ec4d462a2
commit b2750e0e9b
4 changed files with 4 additions and 4 deletions

View File

@ -564,7 +564,7 @@ where
// FCU resulted in a fatal error from which we can't recover
let err = err.clone();
let _ = tx.send(Err(error));
return OnForkchoiceUpdateOutcome::Fatal(err.clone())
return OnForkchoiceUpdateOutcome::Fatal(err)
}
}
let _ = tx.send(Err(error));