View on GitHub
File Changes
  isExpanded: boolean,
  isRestoreActive: boolean,
  isLastInList: boolean,
-
  isLegacy: boolean,
  formattedWalletAmount: Function,
  network: string,
  onDetailsToggled: ?Function,
  };

                      
  deletePendingTransaction = async () => {
-
    const { data, walletId, isLegacy } = this.props;
+
    const { data, walletId } = this.props;
    const { id: transactionId, state } = data;
    if (state !== TransactionStates.PENDING) {
      return this.hideConfirmationDialog();
    }
    await this.props.deletePendingTransaction({
      walletId,
      transactionId,
-
      isLegacy,
    });
    return this.hideConfirmationDialog();
  };
  isLoadingTransactions: boolean,
  isRestoreActive: boolean,
  isRenderingAsVirtualList: boolean,
-
  isLegacy: boolean,
  network: string,
  onShowMoreTransactions?: Function,
  onOpenExternalLink?: Function,
      network,
      onOpenExternalLink,
      walletId,
-
      isLegacy,
    } = this.props;
    const { isFirstInGroup, isLastInGroup, tx } = data;
    const txClasses = classnames([
          isExpanded={this.isTxExpanded(tx)}
          isLastInList={isLastInGroup}
          isRestoreActive={isRestoreActive}
-
          isLegacy={isLegacy}
          network={network}
          onDetailsToggled={() => this.toggleTransactionExpandedState(tx)}
          onOpenExternalLink={onOpenExternalLink}
          isRestoreActive={isRestoreActive}
          hasMoreToLoad={hasMoreToLoad()}
          onLoadMore={actions.transactions.loadMoreTransactions.trigger}
-
          isLegacy={activeWallet.isLegacy}
          walletId={activeWallet.id}
          formattedWalletAmount={formattedWalletAmount}
          onOpenExternalLink={openExternalLink}
        'Active wallet required before deleting a pending transaction.'
      );
    }
-

                      
+
    deleteTransactionRequest.isLegacy = wallet.isLegacy;
    return this.api.ada.deleteTransaction(deleteTransactionRequest);
  };