Skip to content

Commit

Permalink
fix: name generalTm module properly
Browse files Browse the repository at this point in the history
  • Loading branch information
monitz87 committed Apr 15, 2020
1 parent 82d52a3 commit e9dff68
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/generateTxTags.js
Expand Up @@ -28,7 +28,7 @@ websocket.onmessage = message => {
const moduleNameCamelCase = stringCamelCase(moduleName);
const moduleNamePascal = stringUpperFirst(moduleNameCamelCase);
txTag = txTag.concat(`\n | ${moduleNamePascal}Tx`);
txTags = txTags.concat(` ${stringLowerFirst(moduleName)}: ${moduleNamePascal}Tx,\n`);
txTags = txTags.concat(` ${stringCamelCase(moduleName)}: ${moduleNamePascal}Tx,\n`);

namespaces = namespaces.concat(`export enum ${moduleNamePascal}Tx {\n`);
allCalls.forEach(({ name: callName }) => {
Expand Down
2 changes: 1 addition & 1 deletion src/polkadot/augment-api-query.ts
Expand Up @@ -662,7 +662,7 @@ declare module '@polkadot/api/types/storage' {
) => Observable<bool>
>;
};
generalTM: {
generalTm: {
/**
* List of active rules for a ticker (Ticker -> Array of AssetTransferRules)
**/
Expand Down
2 changes: 1 addition & 1 deletion src/polkadot/types.ts
Expand Up @@ -384,7 +384,7 @@ export const TxTags = {
bridge: BridgeTx,
dividend: DividendTx,
identity: IdentityTx,
generalTM: GeneralTmTx,
generalTm: GeneralTmTx,
voting: VotingTx,
stoCapped: StoCappedTx,
percentageTM: PercentageTmTx,
Expand Down

0 comments on commit e9dff68

Please sign in to comment.