Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
♻️ Remove unnecessary check condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ishantiw committed Nov 14, 2018
1 parent f67a33e commit 65a8014
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/transaction/get.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ export default class GetCommand extends BaseCommand {

const client = getAPIClient(this.userConfig.api);

if (txnState && txnState === 'unsigned') {
if (txnState === 'unsigned') {
const results = await queryNode(client.node, txnState, req);
return this.print(results);
}
if (txnState && txnState === 'unprocessed') {
if (txnState === 'unprocessed') {
const results = await queryNode(client.node, txnState, req);
return this.print(results);
}
Expand Down

0 comments on commit 65a8014

Please sign in to comment.