Merge pull request #107 from lbryio/utxo_release

change: utxo_release before transaction_list
This commit is contained in:
Sean Yesmunt 2019-01-24 12:23:32 -05:00 committed by GitHub
commit 7f9088d819
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 8 deletions

4
dist/bundle.js vendored
View file

@ -4137,7 +4137,9 @@ function doFetchTransactions() {
type: ACTIONS.FETCH_TRANSACTIONS_STARTED type: ACTIONS.FETCH_TRANSACTIONS_STARTED
}); });
_lbry2.default.transaction_list().then(function (results) { _lbry2.default.utxo_release().then(function () {
return _lbry2.default.transaction_list();
}).then(function (results) {
dispatch({ dispatch({
type: ACTIONS.FETCH_TRANSACTIONS_COMPLETED, type: ACTIONS.FETCH_TRANSACTIONS_COMPLETED,
data: { data: {

View file

@ -37,7 +37,9 @@ export function doFetchTransactions() {
type: ACTIONS.FETCH_TRANSACTIONS_STARTED, type: ACTIONS.FETCH_TRANSACTIONS_STARTED,
}); });
Lbry.transaction_list().then((results) => { Lbry.utxo_release()
.then(() => Lbry.transaction_list())
.then((results) => {
dispatch({ dispatch({
type: ACTIONS.FETCH_TRANSACTIONS_COMPLETED, type: ACTIONS.FETCH_TRANSACTIONS_COMPLETED,
data: { data: {