diff --git a/src/models/stratum-messages/SubscriptionMessage.ts b/src/models/stratum-messages/SubscriptionMessage.ts index 318988e..6732f2b 100644 --- a/src/models/stratum-messages/SubscriptionMessage.ts +++ b/src/models/stratum-messages/SubscriptionMessage.ts @@ -41,7 +41,7 @@ export class SubscriptionMessage extends StratumBaseMessage { public static refineUserAgent(userAgent: string): string { // return userAgent; - userAgent = userAgent.split(' ')[0].split('/')[0].split('V')[0].split('-')[0]; + userAgent = userAgent.split(' ')[0].split('/')[0].split('V')[0]; if (userAgent.includes('bosminer') || userAgent.includes('bOS')) { userAgent = 'Braiins OS'; @@ -50,4 +50,4 @@ export class SubscriptionMessage extends StratumBaseMessage { } return userAgent; } -} \ No newline at end of file +}