From 85c1c02c741df0d5f3f6e66b3be0c0c5e9be9aaa Mon Sep 17 00:00:00 2001 From: sairajzero Date: Sun, 5 Feb 2023 18:35:32 +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 d349d963..1ec8b327 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; - console.debug("POPED", results.items.splice(start_index, del_count)) ; + console.debug("POPED", results.items.splice(start_index, del_count).map(r => r.txid())) ; } }