Merge pull request #107 from lbryio/utxo_release
change: utxo_release before transaction_list
This commit is contained in:
commit
7f9088d819
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
|
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: {
|
||||||
|
|
|
@ -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: {
|
||||||
|
|
Loading…
Reference in a new issue