Browse Source

fix getAddressActivity method in blockchain explorer

activeAddress
Ivan Socolsky 10 years ago
parent
commit
6ad73547eb
  1. 2
      lib/blockchainexplorer.js

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

Loading…
Cancel
Save