diff --git a/lib/services/bitcoind.js b/lib/services/bitcoind.js index bc45a1b8..b72e2345 100644 --- a/lib/services/bitcoind.js +++ b/lib/services/bitcoind.js @@ -1247,9 +1247,12 @@ Bitcoin.prototype.getAddressSummary = function(addressArg, options, callback) { self.summaryCache.set(cacheKey, summary); if (!options.noTxList) { var allTxids = mempoolTxids.reverse().concat(summaryTxids); - summary.txids = allTxids; + var allSummary = _.clone(summary); + allSummary.txids = allTxids; + callback(null, allSummary); + } else { + callback(null, summary); } - callback(null, summary); }); }