Skip to content

Commit

Permalink
Fix toHuman error on mode (#5940)
Browse files Browse the repository at this point in the history
  • Loading branch information
TarikGul committed Jul 17, 2024
1 parent dac94c5 commit 65b019e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/types/src/extrinsic/Extrinsic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ export class GenericExtrinsic<A extends AnyTuple = AnyTuple> extends ExtrinsicBa
assetId: this.assetId ? this.assetId.toHuman(isExpanded, disableAscii) : null,
era: this.era.toHuman(isExpanded, disableAscii),
metadataHash: this.metadataHash ? this.metadataHash.toHex() : null,
mode: this.mode.toHuman(),
mode: this.mode ? this.mode.toHuman() : null,
nonce: this.nonce.toHuman(isExpanded, disableAscii),
signature: this.signature.toHex(),
signer: this.signer.toHuman(isExpanded, disableAscii),
Expand Down

0 comments on commit 65b019e

Please sign in to comment.