Browse Source

fix bug introduced in f4fcae2fa2

error when navigating to page 2 of block txs
master
Dan Janosik 5 years ago
parent
commit
ec76c5b2be
No known key found for this signature in database GPG Key ID: C6F8CE9FFDB2CED2
  1. 2
      app/api/coreApi.js

2
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 });

Loading…
Cancel
Save