Merge pull request #305 from lbryio/utxoReleaseTxo
release utxo before txo list
This commit is contained in:
commit
a65d09a919
2 changed files with 3 additions and 2 deletions
2
dist/bundle.es.js
vendored
2
dist/bundle.es.js
vendored
|
@ -2701,7 +2701,7 @@ function doFetchTxoPage() {
|
||||||
const state = getState();
|
const state = getState();
|
||||||
const queryParams = selectTxoPageParams(state);
|
const queryParams = selectTxoPageParams(state);
|
||||||
|
|
||||||
lbryProxy.txo_list(queryParams).then(res => {
|
lbryProxy.utxo_release().then(() => lbryProxy.txo_list(queryParams)).then(res => {
|
||||||
dispatch({
|
dispatch({
|
||||||
type: FETCH_TXO_PAGE_COMPLETED,
|
type: FETCH_TXO_PAGE_COMPLETED,
|
||||||
data: res
|
data: res
|
||||||
|
|
|
@ -81,7 +81,8 @@ export function doFetchTxoPage() {
|
||||||
const state = getState();
|
const state = getState();
|
||||||
const queryParams = selectTxoPageParams(state);
|
const queryParams = selectTxoPageParams(state);
|
||||||
|
|
||||||
Lbry.txo_list(queryParams)
|
Lbry.utxo_release()
|
||||||
|
.then(() => Lbry.txo_list(queryParams))
|
||||||
.then(res => {
|
.then(res => {
|
||||||
dispatch({
|
dispatch({
|
||||||
type: ACTIONS.FETCH_TXO_PAGE_COMPLETED,
|
type: ACTIONS.FETCH_TXO_PAGE_COMPLETED,
|
||||||
|
|
Loading…
Reference in a new issue