feat(sdk)!: ban addresses failed in sdk #4700
Annotations
1 error, 4 warnings, and 1 notice
|
packages/rs-dapi-client/src/address_list.rs#L142
warning: variable does not need to be mutable
--> packages/rs-dapi-client/src/address_list.rs:142:18
|
142 | let Some(mut status) = guard.get_mut(address) else {
| ----^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
packages/rs-dapi-client/src/address_list.rs#L156
warning: variable does not need to be mutable
--> packages/rs-dapi-client/src/address_list.rs:156:18
|
156 | let Some(mut status) = guard.get_mut(address) else {
| ----^^^^^^
| |
| help: remove this `mut`
|
packages/rs-dapi-client/src/address_list.rs#L217
warning: unused variable: `addr`
--> packages/rs-dapi-client/src/address_list.rs:217:23
|
217 | .filter(|(addr, status)| {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
|
= note: `#[warn(unused_variables)]` on by default
|
packages/rs-dapi-client/src/address_list.rs#L209
warning: variable does not need to be mutable
--> packages/rs-dapi-client/src/address_list.rs:209:13
|
209 | let mut guard = self.addresses.read().unwrap();
| ----^^^^^
| |
| help: remove this `mut`
|
|
The logs for this run have expired and are no longer available.
Loading