release utxo before txo list #305

Merged
jessopb merged 1 commit from utxoReleaseTxo into master 2020-04-20 21:07:13 +02:00
2 changed files with 3 additions and 2 deletions
dist
src/redux/actions

2
dist/bundle.es.js vendored
View file

@ -2701,7 +2701,7 @@ function doFetchTxoPage() {
const state = getState();
const queryParams = selectTxoPageParams(state);
lbryProxy.txo_list(queryParams).then(res => {
lbryProxy.utxo_release().then(() => lbryProxy.txo_list(queryParams)).then(res => {
dispatch({
type: FETCH_TXO_PAGE_COMPLETED,
data: res

View file

@ -81,7 +81,8 @@ export function doFetchTxoPage() {
const state = getState();
const queryParams = selectTxoPageParams(state);
Lbry.txo_list(queryParams)
Lbry.utxo_release()
.then(() => Lbry.txo_list(queryParams))
.then(res => {
dispatch({
type: ACTIONS.FETCH_TXO_PAGE_COMPLETED,