forked from lthn/blockchain
gui: fixed a transactions' incorrect pagination when a wallet mines PoS and sends rewards to another address
This commit is contained in:
parent
6f7d07d282
commit
11850a1e05
3 changed files with 3 additions and 3 deletions
|
|
@ -1037,7 +1037,7 @@ var Wallet = /** @class */ (function () {
|
|||
};
|
||||
Wallet.prototype.prepareHistory = function (items) {
|
||||
for (var i = 0; i < items.length; i++) {
|
||||
if ((items[i].tx_type === 7 && items[i].is_income) || (items[i].tx_type === 11 && items[i].is_income) || (items[i].amount.eq(0) && items[i].fee.eq(0))) {
|
||||
if ((items[i].tx_type === 7 && items[i].is_income) || (items[i].tx_type === 11 && items[i].is_income) || (items[i].amount.eq(0) && items[i].fee.eq(0) && !items[i].is_mining)) {
|
||||
var exists = false;
|
||||
for (var j = 0; j < this.excluded_history.length; j++) {
|
||||
if (this.excluded_history[j].tx_hash === items[i].tx_hash) {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -102,7 +102,7 @@ export class Wallet {
|
|||
|
||||
prepareHistory(items: Transaction[]): void {
|
||||
for (let i = 0; i < items.length; i++) {
|
||||
if ((items[i].tx_type === 7 && items[i].is_income) || (items[i].tx_type === 11 && items[i].is_income) || (items[i].amount.eq(0) && items[i].fee.eq(0))) {
|
||||
if ((items[i].tx_type === 7 && items[i].is_income) || (items[i].tx_type === 11 && items[i].is_income) || (items[i].amount.eq(0) && items[i].fee.eq(0) && !items[i].is_mining)) {
|
||||
let exists = false;
|
||||
for (let j = 0; j < this.excluded_history.length; j++) {
|
||||
if (this.excluded_history[j].tx_hash === items[i].tx_hash) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue