Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #121 from plondon/txListRefresh
Browse files Browse the repository at this point in the history
feat(TxList): enable tx list refresh
  • Loading branch information
Sjors committed Feb 18, 2016
2 parents 0e1bf07 + 25ff401 commit 3d88ecd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transaction-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ Object.defineProperties(TransactionList.prototype, {
}
});

TransactionList.prototype.fetchTxs = function (amount) {
var refresh = this._getContext().join() !== this._context.join()
TransactionList.prototype.fetchTxs = function (amount, refresh) {
var refresh = this._getContext().join() !== this._context.join() || refresh
, context = this._context = refresh ? this._getContext() : this._context
, txIndex = refresh ? 0 : this._txsFetched
, amount = amount || this.loadNumber
Expand Down

0 comments on commit 3d88ecd

Please sign in to comment.