Skip to content

Commit

Permalink
Add some more ignores to get 100
Browse files Browse the repository at this point in the history
  • Loading branch information
rickycodes committed Feb 17, 2021
1 parent 5e34e57 commit 45d0c59
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/transaction/TransactionController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -716,17 +716,17 @@ export class TransactionController extends BaseController<TransactionConfig, Tra
const remoteTxList: { [key: string]: number } = {};
const remoteTxs: TransactionMeta[] = [];

etherscanTxResponse.result.forEach((tx: EtherscanTransactionMeta) => {
/* istanbul ignore next */
/* istanbul ignore next */
etherscanTxResponse && etherscanTxResponse?.result.forEach((tx: EtherscanTransactionMeta) => {
if (!remoteTxList[tx.hash]) {
const cleanTx = this.normalizeTxFromEtherscan(tx, currentNetworkID);
remoteTxs.push(cleanTx);
remoteTxList[tx.hash] = 1;
}
});

etherscanTokenResponse && etherscanTokenResponse.result.forEach((tx: EtherscanTransactionMeta) => {
/* istanbul ignore next */
/* istanbul ignore next */
etherscanTokenResponse && etherscanTokenResponse?.result.forEach((tx: EtherscanTransactionMeta) => {
if (!remoteTxList[tx.hash]) {
const cleanTx = this.normalizeTxFromEtherscan(tx, currentNetworkID);
remoteTxs.push(cleanTx);
Expand Down

0 comments on commit 45d0c59

Please sign in to comment.