remove utxo_release call before txo_list is called
This commit is contained in:
parent
11a43bae79
commit
3ce73c6646
2 changed files with 10 additions and 13 deletions
4
dist/bundle.es.js
vendored
4
dist/bundle.es.js
vendored
|
@ -2921,7 +2921,7 @@ function doFetchTransactions(page = 1, pageSize = 99999) {
|
|||
type: FETCH_TRANSACTIONS_STARTED
|
||||
});
|
||||
|
||||
lbryProxy.utxo_release().then(() => lbryProxy.transaction_list({ page, page_size: pageSize })).then(result => {
|
||||
lbryProxy.transaction_list({ page, page_size: pageSize }).then(result => {
|
||||
dispatch({
|
||||
type: FETCH_TRANSACTIONS_COMPLETED,
|
||||
data: {
|
||||
|
@ -2941,7 +2941,7 @@ function doFetchTxoPage() {
|
|||
const state = getState();
|
||||
const queryParams = selectTxoPageParams(state);
|
||||
|
||||
lbryProxy.utxo_release().then(() => lbryProxy.txo_list(queryParams)).then(res => {
|
||||
lbryProxy.txo_list(queryParams).then(res => {
|
||||
dispatch({
|
||||
type: FETCH_TXO_PAGE_COMPLETED,
|
||||
data: res
|
||||
|
|
|
@ -63,16 +63,14 @@ export function doFetchTransactions(page = 1, pageSize = 99999) {
|
|||
type: ACTIONS.FETCH_TRANSACTIONS_STARTED,
|
||||
});
|
||||
|
||||
Lbry.utxo_release()
|
||||
.then(() => Lbry.transaction_list({ page, page_size: pageSize }))
|
||||
.then(result => {
|
||||
dispatch({
|
||||
type: ACTIONS.FETCH_TRANSACTIONS_COMPLETED,
|
||||
data: {
|
||||
transactions: result.items,
|
||||
},
|
||||
});
|
||||
Lbry.transaction_list({ page, page_size: pageSize }).then(result => {
|
||||
dispatch({
|
||||
type: ACTIONS.FETCH_TRANSACTIONS_COMPLETED,
|
||||
data: {
|
||||
transactions: result.items,
|
||||
},
|
||||
});
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -85,8 +83,7 @@ export function doFetchTxoPage() {
|
|||
const state = getState();
|
||||
const queryParams = selectTxoPageParams(state);
|
||||
|
||||
Lbry.utxo_release()
|
||||
.then(() => Lbry.txo_list(queryParams))
|
||||
Lbry.txo_list(queryParams)
|
||||
.then(res => {
|
||||
dispatch({
|
||||
type: ACTIONS.FETCH_TXO_PAGE_COMPLETED,
|
||||
|
|
Loading…
Add table
Reference in a new issue