mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Lint previous commit
This commit is contained in:
@@ -165,7 +165,7 @@ impl Rpc {
|
||||
)
|
||||
.await?;
|
||||
|
||||
if txs.missed_tx.len() != 0 {
|
||||
if !txs.missed_tx.is_empty() {
|
||||
Err(RpcError::TransactionsNotFound(
|
||||
txs.missed_tx.iter().map(|hash| hex::decode(&hash).unwrap().try_into().unwrap()).collect(),
|
||||
))?;
|
||||
|
||||
Reference in New Issue
Block a user