mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
chore(ci): unpin clippy (#11697)
This commit is contained in:
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@ -30,7 +30,6 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@clippy
|
||||
with:
|
||||
toolchain: nightly-2024-09-25
|
||||
components: clippy
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
@ -52,7 +51,6 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@nightly
|
||||
with:
|
||||
toolchain: nightly-2024-09-25
|
||||
components: clippy
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
|
||||
@ -197,8 +197,9 @@ impl<N: ProviderNodeTypes> BlockchainProvider2<N> {
|
||||
for (_, block_body) in block_bodies {
|
||||
let mut block_receipts = Vec::with_capacity(block_body.tx_count as usize);
|
||||
for tx_num in block_body.tx_num_range() {
|
||||
let receipt =
|
||||
receipt_iter.next().ok_or(ProviderError::ReceiptNotFound(tx_num.into()))?;
|
||||
let receipt = receipt_iter
|
||||
.next()
|
||||
.ok_or_else(|| ProviderError::ReceiptNotFound(tx_num.into()))?;
|
||||
block_receipts.push(Some(receipt));
|
||||
}
|
||||
receipts.push(block_receipts);
|
||||
|
||||
Reference in New Issue
Block a user