1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-04-17 21:12:58 -04:00

Sync changes with xmrig-proxy

This commit is contained in:
SChernykh
2026-02-02 12:11:01 +01:00
parent 316a3673bc
commit 05dd6dcc40
6 changed files with 114 additions and 46 deletions

View File

@@ -236,6 +236,10 @@ int64_t xmrig::Client::submit(const JobResult &result)
if (result.commitment()) {
params.AddMember("commitment", StringRef(commitment), allocator);
}
# else
if (result.commitment) {
params.AddMember("commitment", StringRef(result.commitment), allocator);
}
# endif
if (has<EXT_ALGO>() && result.algorithm.isValid()) {