Skip to content

Commit

Permalink
fix: celo rpc block type
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Nov 6, 2023
1 parent e679667 commit dd8bccc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/chains/celo/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import type {
TransactionSerialized,
} from '../../types/transaction.js'
import type { NeverBy } from '../../types/utils.js'
import type { OptimismRpcTransaction } from '../optimism/types.js'

type CeloBlockExclude =
| 'difficulty'
Expand Down Expand Up @@ -66,7 +65,7 @@ export type CeloRpcBlock<
RpcBlock<
TBlockTag,
TIncludeTransactions,
OptimismRpcTransaction<TBlockTag extends 'pending' ? true : false>
RpcTransaction<TBlockTag extends 'pending' ? true : false>
>,
CeloBlockExclude
> &
Expand Down

0 comments on commit dd8bccc

Please sign in to comment.