mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-18 00:37:46 +00:00
#1581 Fixed macOS build.
This commit is contained in:
parent
2020b71eeb
commit
7bf12dc81f
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ int64_t xmrig::DaemonClient::getBlockTemplate()
|
|||
Value params(kObjectType);
|
||||
params.AddMember("wallet_address", m_user.toJSON(), allocator);
|
||||
if (m_apiVersion == API_DERO) {
|
||||
params.AddMember("reserve_size", BlobReserveSize, allocator);
|
||||
params.AddMember("reserve_size", static_cast<uint64_t>(BlobReserveSize), allocator);
|
||||
}
|
||||
else {
|
||||
params.AddMember("extra_nonce", Buffer::randomBytes(BlobReserveSize).toHex().toJSON(doc), allocator);
|
||||
|
|
Loading…
Reference in a new issue