From e5c0b5f0a62ce040c683483213c3ec566732f4e5 Mon Sep 17 00:00:00 2001 From: infiinte-persistence Date: Tue, 20 Apr 2021 10:44:40 +0800 Subject: [PATCH] doFetchTransactions: bump pageSize to 999999; remove doFetchSupport ## Issue 5899 Re-add ability to export transactions --- dist/bundle.es.js | 20 +------------------- src/redux/actions/wallet.js | 3 +-- 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/dist/bundle.es.js b/dist/bundle.es.js index b08a080..4973dab 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -2906,9 +2906,8 @@ function doBalanceSubscribe() { }; } -function doFetchTransactions(page = 1, pageSize = 99999) { +function doFetchTransactions(page = 1, pageSize = 999999) { return dispatch => { - dispatch(doFetchSupports()); dispatch({ type: FETCH_TRANSACTIONS_STARTED }); @@ -2990,23 +2989,6 @@ function doUpdateTxoPageParams(params) { }; } -function doFetchSupports(page = 1, pageSize = 99999) { - return dispatch => { - dispatch({ - type: FETCH_SUPPORTS_STARTED - }); - - lbryProxy.support_list({ page, page_size: pageSize }).then(result => { - dispatch({ - type: FETCH_SUPPORTS_COMPLETED, - data: { - supports: result.items - } - }); - }); - }; -} - function doFetchUtxoCounts() { return (() => { var _ref = _asyncToGenerator(function* (dispatch) { diff --git a/src/redux/actions/wallet.js b/src/redux/actions/wallet.js index 97254df..9c06ea9 100644 --- a/src/redux/actions/wallet.js +++ b/src/redux/actions/wallet.js @@ -61,9 +61,8 @@ export function doBalanceSubscribe() { }; } -export function doFetchTransactions(page = 1, pageSize = 99999) { +export function doFetchTransactions(page = 1, pageSize = 999999) { return dispatch => { - dispatch(doFetchSupports()); dispatch({ type: ACTIONS.FETCH_TRANSACTIONS_STARTED, });