Skip to content

Commit

Permalink
fix: feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
shuffledex committed Aug 18, 2020
1 parent 6e046d6 commit 4e73354
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/Polymesh.ts
Expand Up @@ -664,11 +664,11 @@ export class Polymesh {
/**
* Retrieve a list of transactions. Can be filtered using parameters
*
* @param opts.address - account that signed the transaction
* @param opts.tag - tag associated with the transaction
* @param opts.success - whether the transaction was successful or not
* @param opts.size - page size
* @param opts.start - page offset
* @param filters.address - account that signed the transaction
* @param filters.tag - tag associated with the transaction
* @param filters.success - whether the transaction was successful or not
* @param filters.size - page size
* @param filters.start - page offset
*/
public async getTransactionHistory(
filters: {
Expand All @@ -688,9 +688,7 @@ export class Polymesh {
let moduleId;
let callId;
if (tag) {
const extrinsicIdentifier = txTagToExtrinsicIdentifier(tag);
moduleId = extrinsicIdentifier.moduleId;
callId = extrinsicIdentifier.callId;
({ moduleId, callId } = txTagToExtrinsicIdentifier(tag));
}

/* eslint-disable @typescript-eslint/camelcase */
Expand Down

0 comments on commit 4e73354

Please sign in to comment.