mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: apply same impl order (#2937)
This commit is contained in:
@ -481,10 +481,6 @@ mod tests {
|
||||
}
|
||||
|
||||
impl WithdrawalsProvider for Provider {
|
||||
fn latest_withdrawal(&self) -> Result<Option<Withdrawal>> {
|
||||
self.withdrawals_provider.latest_withdrawal()
|
||||
}
|
||||
|
||||
fn withdrawals_by_block(
|
||||
&self,
|
||||
_id: BlockHashOrNumber,
|
||||
@ -492,6 +488,10 @@ mod tests {
|
||||
) -> RethResult<Option<Vec<Withdrawal>>> {
|
||||
self.withdrawals_provider.withdrawals_by_block(_id, _timestamp)
|
||||
}
|
||||
|
||||
fn latest_withdrawal(&self) -> Result<Option<Withdrawal>> {
|
||||
self.withdrawals_provider.latest_withdrawal()
|
||||
}
|
||||
}
|
||||
|
||||
fn mock_tx(nonce: u64) -> TransactionSignedEcRecovered {
|
||||
|
||||
Reference in New Issue
Block a user