diff --git a/lib/blockchainexplorer.js b/lib/blockchainexplorer.js index 062b085..388f3c4 100644 --- a/lib/blockchainexplorer.js +++ b/lib/blockchainexplorer.js @@ -59,7 +59,7 @@ function getTransactionsInsight(url, addresses, from, to, cb) { function getAddressActivityInsight(url, addresses, cb) { getTransactionsInsight(url, addresses, 0, 0, function(err, result) { if (err) return cb(err); - return cb(null, result.items > 0); + return cb(null, result.totalItems > 0); }); };