Skip to content

Commit

Permalink
toNumber() on id
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr committed Sep 28, 2018
1 parent b299eeb commit 3e12841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/type-extrinsics/src/utils/createExtrinsic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function createExtrinsic (

return new Extrinsic(
u8aConcat(
new Uint8Array([index, meta.id.toU8a()[1]]),
new Uint8Array([index, meta.id.toNumber()]),
...expectedArgs.map((argument, index) => {
const type = argument.type.toString(); // Argument type, as string

Expand Down

0 comments on commit 3e12841

Please sign in to comment.