mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
versionMask
This commit is contained in:
@@ -45,7 +45,7 @@ export class MiningSubmitMessage extends StratumBaseMessage {
|
||||
@Expose()
|
||||
@IsString()
|
||||
@Transform(({ value, key, obj, type }) => {
|
||||
return obj.params[5] == null ? 0 : obj.params[5];
|
||||
return obj.params[5] == null ? '0' : obj.params[5];
|
||||
})
|
||||
public versionMask?: string | null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user