From 263c892b1d08e4a7194300c4741b9e13dd2c9446 Mon Sep 17 00:00:00 2001 From: sairajzero Date: Sun, 5 Feb 2023 18:33:21 +0530 Subject: [PATCH] Update index.js --- lib/services/address/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/address/index.js b/lib/services/address/index.js index 8400d0d6..d349d963 100644 --- a/lib/services/address/index.js +++ b/lib/services/address/index.js @@ -222,7 +222,7 @@ AddressService.prototype.getAddressHistory = function(addresses, options, stream results.items.sort((a, b) => b.__height - a.__height || a.txid().localeCompare(b.txid())); let del_count = options.old_support ? results.items.length : results.items.length - MAX_TX_QUERY_LIMIT; let start_index = options.old_support ? MAX_TX_QUERY_LIMIT : 0; - results.items.splice(start_index, del_count); + console.debug("POPED", results.items.splice(start_index, del_count)) ; } }