Skip to content

Commit

Permalink
Perhaps let coins handle supply.
Browse files Browse the repository at this point in the history
  • Loading branch information
uaktags committed Jul 2, 2021
1 parent 4c0867d commit a6dec3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/explorer.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,9 @@ module.exports = {
},

get_supply: function(cb) {
if(coin.hasOwnProperty('customGetSupply')){
return coin.customGetSupply(client, cb);
}
if ( settings.supply == 'HEAVY' ) {
client.command([{method:'getsupply', parameters: []}], function(err, response){
if(err){console.log('Error: ', err); }
Expand Down

0 comments on commit a6dec3e

Please sign in to comment.