mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2025-03-27 02:02:10 +01:00
fix unit test
This commit is contained in:
parent
3d14f206f4
commit
924909bef0
@ -345,7 +345,9 @@ export class StratumV1Client {
|
||||
let payoutInformation;
|
||||
const devFeeAddress = this.configService.get('DEV_FEE_ADDRESS');
|
||||
//50Th/s
|
||||
const noFee = hashRate < 50000000000000;
|
||||
console.log('HASH RATE');
|
||||
console.log(hashRate);
|
||||
const noFee = hashRate != 0 && hashRate < 50000000000000;
|
||||
if (noFee || devFeeAddress == null || devFeeAddress.length < 1) {
|
||||
payoutInformation = [
|
||||
{ address: this.clientAuthorization.address, percent: 100 }
|
||||
|
Loading…
x
Reference in New Issue
Block a user