Skip to content

Commit

Permalink
chore: remove pub
Browse files Browse the repository at this point in the history
  • Loading branch information
Evalir committed Dec 8, 2023
1 parent de1b5f3 commit e359e27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/providers/src/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ impl<T: Transport + Clone + Send + Sync> TempProvider for Provider<T> {
}

/// Gets a block by its [BlockHash], with full transactions or only hashes.
pub async fn get_block_by_hash(
async fn get_block_by_hash(
&self,
hash: BlockHash,
full: bool,
Expand Down Expand Up @@ -351,7 +351,7 @@ impl<T: Transport + Clone + Send + Sync> TempProvider for Provider<T> {
}

/// Gets a [Transaction] by its [TxHash].
pub async fn get_transaction_by_hash(&self, hash: TxHash) -> TransportResult<Transaction> {
async fn get_transaction_by_hash(&self, hash: TxHash) -> TransportResult<Transaction> {
self.inner.prepare("eth_getTransactionByHash", (hash,)).await
}

Expand Down

0 comments on commit e359e27

Please sign in to comment.