Skip to content

Commit

Permalink
Always omit special addresses from the richlist
Browse files Browse the repository at this point in the history
  • Loading branch information
joeuhren committed Mar 20, 2021
1 parent d3aeb8d commit 41f7500
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/database.js
Original file line number Diff line number Diff line change
Expand Up @@ -388,8 +388,10 @@ module.exports = {
// create the burn address array so that we omit burned coins from the rich list
var burn_addresses = settings.richlist_page.burned_coins.addresses;

// always omit the private address from the richlist
// always omit special addresses used by the explorer from the richlist (coinbase, hidden address and unknown address)
burn_addresses.push('coinbase');
burn_addresses.push('hidden_address');
burn_addresses.push('unknown_address');

if (list == 'received') {
// update 'received' richlist data
Expand Down

0 comments on commit 41f7500

Please sign in to comment.