Skip to content

Commit

Permalink
[DDW-1038] - Integrate delete pending transaction v2 api endpoint for…
Browse files Browse the repository at this point in the history
… legacy wallets - fixes for api call
  • Loading branch information
DeeJayElly committed Nov 9, 2019
1 parent c0bf73d commit bc7a141
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/renderer/app/stores/TransactionsStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ export default class TransactionsStore extends Store {

@observable _searchOptionsForWallets = {};

@observable deleteTransactionRequest: Request<
Array<DeleteTransactionRequest>
> = new Request(this.api.ada.deleteTransaction);

@observable
unconfirmedAmount: UnconfirmedAmount = this._getEmptyUnconfirmedAmount();

Expand Down Expand Up @@ -201,7 +205,7 @@ export default class TransactionsStore extends Store {
);
}
deleteTransactionRequest.isLegacy = wallet.isLegacy;
return this.api.ada.deleteTransaction(deleteTransactionRequest);
this.deleteTransactionRequest.execute(deleteTransactionRequest);
};

validateAmount = (amountInLovelaces: string): Promise<boolean> =>
Expand Down

0 comments on commit bc7a141

Please sign in to comment.