Merge pull request #305 from lbryio/utxoReleaseTxo

release utxo before txo list
This commit is contained in:
Sean Yesmunt 2020-04-20 15:07:13 -04:00 committed by GitHub
commit a65d09a919
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

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,