From ec76c5b2be5e755d0c7119d62f9d9274a63e435e Mon Sep 17 00:00:00 2001 From: Dan Janosik Date: Tue, 24 Mar 2020 18:40:47 -0400 Subject: [PATCH] fix bug introduced in f4fcae2fa2b823 error when navigating to page 2 of block txs --- app/api/coreApi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/coreApi.js b/app/api/coreApi.js index 22ea34e..4f50de2 100644 --- a/app/api/coreApi.js +++ b/app/api/coreApi.js @@ -779,7 +779,7 @@ function getBlockByHashWithTransactions(blockHash, txLimit, txOffset) { // if we're on page 2, we don't really want the coinbase tx in the tx list anymore if (txOffset > 0) { - transactions.shift(); + txsResult.transactions.shift(); } resolve({ getblock:block, transactions:txsResult.transactions, txInputsByTransaction:txsResult.txInputsByTransaction });