Additional check for Bitcoin POS detection
@@ -469,7 +469,8 @@ public abstract class BitcoinJobManagerBase<TJob> : JobManagerBase<TJob>
if(validateAddressResponse is not {IsValid: true})
throw new PoolStartupException($"Daemon reports pool-address '{poolConfig.Address}' as invalid", poolConfig.Id);
- isPoS = poolConfig.Template is BitcoinTemplate {IsPseudoPoS: true} || difficultyResponse.Values().Any(x => x.Path == "proof-of-stake");
+ isPoS = poolConfig.Template is BitcoinTemplate {IsPseudoPoS: true} ||
+ (difficultyResponse.Values().Any(x => x.Path == "proof-of-stake" && !difficultyResponse.Values().Any(x => x.Path == "proof-of-work")));
// Create pool address script from response
if(!isPoS)
