Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Apply cyclomatic-complexity rule on p2p base transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
diego-G committed Sep 12, 2019
1 parent 943550a commit 6850c3b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion elements/lisk-transactions/src/base_transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ export abstract class BaseTransaction {
// tslint:disable-next-line no-any
protected abstract assetFromSync(raw: any): object | undefined;

// tslint:disable-next-line cyclomatic-complexity
public constructor(rawTransaction: unknown) {
const tx = (typeof rawTransaction === 'object' && rawTransaction !== null
? rawTransaction
Expand Down

0 comments on commit 6850c3b

Please sign in to comment.