change: utxo_release before transaction_list
This commit is contained in:
parent
6953a29c2e
commit
a22f828411
2 changed files with 12 additions and 8 deletions
4
dist/bundle.js
vendored
4
dist/bundle.js
vendored
|
@ -4137,7 +4137,9 @@ function doFetchTransactions() {
|
|||
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({
|
||||
type: ACTIONS.FETCH_TRANSACTIONS_COMPLETED,
|
||||
data: {
|
||||
|
|
|
@ -37,14 +37,16 @@ export function doFetchTransactions() {
|
|||
type: ACTIONS.FETCH_TRANSACTIONS_STARTED,
|
||||
});
|
||||
|
||||
Lbry.transaction_list().then((results) => {
|
||||
dispatch({
|
||||
type: ACTIONS.FETCH_TRANSACTIONS_COMPLETED,
|
||||
data: {
|
||||
transactions: results,
|
||||
},
|
||||
Lbry.utxo_release()
|
||||
.then(() => Lbry.transaction_list())
|
||||
.then((results) => {
|
||||
dispatch({
|
||||
type: ACTIONS.FETCH_TRANSACTIONS_COMPLETED,
|
||||
data: {
|
||||
transactions: results,
|
||||
},
|
||||
});
|
||||
});
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue