Skip to content

Commit

Permalink
Fix component propagation in Arc<C: EthInterface>
Browse files Browse the repository at this point in the history
  • Loading branch information
slowli committed Jan 3, 2024
1 parent d14f075 commit 7584a00
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/lib/eth_client/src/clients/generic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,11 @@ impl<C: BoundEthInterface + ?Sized> BoundEthInterface for Arc<C> {
self.as_ref().nonce_at(block, component).await
}

async fn current_nonce(&self, _: &'static str) -> Result<U256, Error> {
self.as_ref().current_nonce("").await
async fn current_nonce(&self, component: &'static str) -> Result<U256, Error> {
self.as_ref().current_nonce(component).await
}

async fn pending_nonce(&self, _: &'static str) -> Result<U256, Error> {
self.as_ref().pending_nonce("").await
async fn pending_nonce(&self, component: &'static str) -> Result<U256, Error> {
self.as_ref().pending_nonce(component).await
}
}

0 comments on commit 7584a00

Please sign in to comment.