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

Commit

Permalink
restore this; treat incomplete transactions as pending
Browse files Browse the repository at this point in the history
  • Loading branch information
Morley Zhi committed Jan 17, 2020
1 parent 3bed263 commit 88c0a6f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/transfers/TransferProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,9 @@ export abstract class TransferProvider {
try {
const newTransactions = transactions.filter(
(transaction: Transaction) => {
const isPending = transaction.status.indexOf("pending") === 0;
const isPending =
transaction.status.indexOf("pending") === 0 ||
transaction.status === TransactionStatus.incomplete;
const registeredTransaction = this._transactionsRegistry[
asset_code
][transaction.id];
Expand Down

0 comments on commit 88c0a6f

Please sign in to comment.