Update api.js
This commit is contained in:
parent
e735705845
commit
90b8d0fe33
|
@ -28,7 +28,7 @@ module.exports = function(logger, portalConfig, poolConfigs){
|
|||
var workers = {};
|
||||
var address = url_parms[1] || null;
|
||||
//res.end(portalStats.getWorkerStats(address));
|
||||
if (address != null && address.length > 0 && address.startsWith('t')) {
|
||||
if (address != null && address.length > 0 && address.startsWith('t'),('R')) {
|
||||
// make sure it is just the miners address
|
||||
address = address.split(".")[0];
|
||||
// get miners balance along with worker balances
|
||||
|
|
Loading…
Reference in New Issue