From 0f9329872410c5e98fff496cd06492336bd60720 Mon Sep 17 00:00:00 2001 From: bee344 Date: Tue, 24 Sep 2024 18:18:36 -0300 Subject: [PATCH] preamble typo --- packages/types/src/extrinsic/ExtrinsicPayload.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/types/src/extrinsic/ExtrinsicPayload.ts b/packages/types/src/extrinsic/ExtrinsicPayload.ts index 4b90787f0e5..a088caddadb 100644 --- a/packages/types/src/extrinsic/ExtrinsicPayload.ts +++ b/packages/types/src/extrinsic/ExtrinsicPayload.ts @@ -18,7 +18,7 @@ import { DEFAULT_PREAMBLE, LATEST_EXTRINSIC_VERSION } from './constants.js'; interface ExtrinsicPayloadOptions { version?: number; - pramble?: Preamble; + preamble?: Preamble; } // all our known types that can be returned @@ -76,8 +76,8 @@ function decodeExtrinsicPayload (registry: Registry, value?: GenericExtrinsicPay * on the contents included */ export class GenericExtrinsicPayload extends AbstractBase { - constructor (registry: Registry, value?: Partial | Uint8Array | string, { pramble, version }: ExtrinsicPayloadOptions = {}) { - super(registry, decodeExtrinsicPayload(registry, value as ExtrinsicPayloadValue, version, pramble)); + constructor (registry: Registry, value?: Partial | Uint8Array | string, { preamble, version }: ExtrinsicPayloadOptions = {}) { + super(registry, decodeExtrinsicPayload(registry, value as ExtrinsicPayloadValue, version, preamble)); } /**