diff --git a/packages/common/src/common.ts b/packages/common/src/common.ts index 1ee56627c7..9c18337ab3 100644 --- a/packages/common/src/common.ts +++ b/packages/common/src/common.ts @@ -962,7 +962,7 @@ export class Common { hardforks(): HardforkTransitionConfig[] { const hfs = this._chainParams.hardforks if (this._chainParams.customHardforks !== undefined) { - this._chainParams.customHardforks + return this._chainParams.customHardforks } return hfs }