Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
Signed-off-by: smtmfft <[email protected]>
  • Loading branch information
smtmfft committed Jun 17, 2024
1 parent f7f8acb commit 27b1042
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions core/src/provider/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,10 @@ impl BlockDataProvider for RpcBlockDataProvider {
RaikoError::RPC(format!("Failed to collect nonce request: {e}"))
})?,
balance_request.await.map_err(|e| {
RaikoError::RPC(format!("Failed to collect balance reques: {e}"))
RaikoError::RPC(format!("Failed to collect balance request: {e}"))
})?,
code_request.await.map_err(|e| {
RaikoError::RPC(format!("Failed to collect code reques: {e}"))
RaikoError::RPC(format!("Failed to collect code request: {e}"))
})?,
);

Expand Down Expand Up @@ -303,9 +303,9 @@ impl BlockDataProvider for RpcBlockDataProvider {

// Collect the data from the batch
for request in requests {
let mut proof = request.await.map_err(|e| {
RaikoError::RPC(format!("Error collecting request data: {e}"))
})?;
let mut proof = request
.await
.map_err(|e| RaikoError::RPC(format!("Error collecting request data: {e}")))?;
idx += proof.storage_proof.len();
if let Some(map_proof) = storage_proofs.get_mut(&proof.address) {
map_proof.storage_proof.append(&mut proof.storage_proof);
Expand Down

0 comments on commit 27b1042

Please sign in to comment.