diff --git a/packages/abstract-provider/src.ts/index.ts b/packages/abstract-provider/src.ts/index.ts index 4c63eb7e4..402f331e8 100644 --- a/packages/abstract-provider/src.ts/index.ts +++ b/packages/abstract-provider/src.ts/index.ts @@ -120,7 +120,7 @@ export interface Filter extends EventFilter { } export interface FilterByBlockHash extends EventFilter { - blockhash?: string; + blockHash?: string; } //export type CallTransactionable = { @@ -138,20 +138,20 @@ export abstract class ForkEvent extends Description { } export class BlockForkEvent extends ForkEvent { - readonly blockhash: string; + readonly blockHash: string; readonly _isBlockForkEvent?: boolean; - constructor(blockhash: string, expiry?: number) { - if (!isHexString(blockhash, 32)) { - logger.throwArgumentError("invalid blockhash", "blockhash", blockhash); + constructor(blockHash: string, expiry?: number) { + if (!isHexString(blockHash, 32)) { + logger.throwArgumentError("invalid blockHash", "blockHash", blockHash); } super({ _isForkEvent: true, _isBlockForkEvent: true, expiry: (expiry || 0), - blockHash: blockhash + blockHash: blockHash }); } }