mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 04:09:23 +00:00
Add workspace lints
This commit is contained in:
@@ -13,6 +13,9 @@ publish = false
|
||||
all-features = true
|
||||
rustdoc-args = ["--cfg", "docsrs"]
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
hex = "0.4"
|
||||
|
||||
|
||||
@@ -280,7 +280,7 @@ fn batch_test() {
|
||||
// TODO: Double check how the processor handles this ID field
|
||||
// It should be able to assert its perfectly sequential
|
||||
id.attempt = attempt;
|
||||
for coordinator in coordinators.iter_mut() {
|
||||
for coordinator in &mut coordinators {
|
||||
coordinator
|
||||
.send_message(messages::coordinator::CoordinatorMessage::BatchReattempt {
|
||||
id: id.clone(),
|
||||
|
||||
@@ -246,14 +246,14 @@ fn send_test() {
|
||||
// TODO: Double check how the processor handles this ID field
|
||||
// It should be able to assert its perfectly sequential
|
||||
id.attempt = attempt;
|
||||
for coordinator in coordinators.iter_mut() {
|
||||
for coordinator in &mut coordinators {
|
||||
coordinator
|
||||
.send_message(messages::sign::CoordinatorMessage::Reattempt { id: id.clone() })
|
||||
.await;
|
||||
}
|
||||
(id, preprocesses) = recv_sign_preprocesses(&mut coordinators, Session(0), attempt).await;
|
||||
}
|
||||
let participating = preprocesses.keys().cloned().collect::<Vec<_>>();
|
||||
let participating = preprocesses.keys().copied().collect::<Vec<_>>();
|
||||
|
||||
let tx_id = sign_tx(&mut coordinators, Session(0), id.clone(), preprocesses).await;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user