Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TarikGul committed Oct 2, 2024
1 parent 0ae6edf commit ccd38d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/types/src/extrinsic/Extrinsic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function decodeU8a (registry: Registry, value: Uint8Array, version: number, prea
abstract class ExtrinsicBase<A extends AnyTuple> extends AbstractBase<ExtrinsicVx | ExtrinsicUnknown> {
readonly #preamble: Preamble;

constructor (registry: Registry, value: ExtrinsicV5 | ExtrinsicUnknown, initialU8aLength?: number, preamble?: Preamble) {
constructor (registry: Registry, value: ExtrinsicVx | ExtrinsicUnknown, initialU8aLength?: number, preamble?: Preamble) {
super(registry, value, initialU8aLength);

const signKeys = Object.keys(registry.getSignedExtensionTypes());
Expand Down
2 changes: 1 addition & 1 deletion packages/types/src/extrinsic/v5/GeneralExtrinsic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export class GeneralExtrinsic extends Struct {
}

public get preamble () {
return this.#preamble
return this.#preamble;
}

public override toHex (isBare?: boolean): HexString {
Expand Down

0 comments on commit ccd38d4

Please sign in to comment.