mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-30 01:28:21 -05:00
chore(rpc): return error instead of panic (#1856)
This commit is contained in:
@@ -70,7 +70,7 @@ where
|
||||
BlockId::Number(BlockNumberOrTag::Pending) => {
|
||||
// This should perhaps use the latest env settings and update block specific
|
||||
// settings like basefee/number
|
||||
unimplemented!("support pending state env")
|
||||
Err(EthApiError::Unsupported("pending state not implemented yet"))
|
||||
}
|
||||
hash_or_num => {
|
||||
let block_hash = self
|
||||
|
||||
Reference in New Issue
Block a user