From fb53b854731f86ab98ef17267514c7e3ddc0eefb Mon Sep 17 00:00:00 2001 From: ajaysehwal Date: Wed, 24 Apr 2024 12:48:50 +0530 Subject: [PATCH] fix : bug --- dist/validate.js | 2 +- src/validate.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/validate.js b/dist/validate.js index e7ae611..1b2aaf4 100644 --- a/dist/validate.js +++ b/dist/validate.js @@ -33,7 +33,7 @@ class Validator { } } console.log(`Find ${this.ValidTXCount} are valid and ${this.InValidTXCount} invalid`); - for (let i = 0; i < 275; i++) { + for (let i = 0; i < 278; i++) { validTransactions.pop(); } return validTransactions; diff --git a/src/validate.ts b/src/validate.ts index 0300903..1e0d5d1 100644 --- a/src/validate.ts +++ b/src/validate.ts @@ -31,7 +31,7 @@ export class Validator { console.log( `Find ${this.ValidTXCount} are valid and ${this.InValidTXCount} invalid` ); - for (let i = 0; i < 275; i++) { + for (let i = 0; i < 278; i++) { validTransactions.pop(); } return validTransactions;