Skip to content
Permalink
Browse files

Couple of fixes for initial indexing - stats.supply and stats.last

  • Loading branch information
TheHolyRoger committed Jul 25, 2020
1 parent 7358038 commit 9692ab958a08893ea40d6f225c5ef2626b98169e
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/database.js
  2. +1 −1 lib/explorer.js
@@ -705,7 +705,7 @@ module.exports = {
count : count,
supply: supply,
connections: connections,
last: new_stats.last});
last: (new_stats.last ? new_stats.last : 0)});
});
});
});
@@ -14,7 +14,7 @@ function coinbase_supply(cb) {
if (address) {
return cb(address.sent);
} else {
return cb();
return cb(0);
}
});
}

0 comments on commit 9692ab9

Please sign in to comment.
You can’t perform that action at this time.