Disable donate for astrobwt/v2.
This commit is contained in:
parent
5bdfafd719
commit
4c171bea1e
2 changed files with 10 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
/* XMRig
|
/* XMRig
|
||||||
* Copyright (c) 2018-2021 SChernykh <https://github.com/SChernykh>
|
* Copyright (c) 2018-2022 SChernykh <https://github.com/SChernykh>
|
||||||
* Copyright (c) 2016-2021 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
* Copyright (c) 2016-2022 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -106,6 +106,12 @@ int64_t xmrig::DonateStrategy::submit(const JobResult &result)
|
||||||
|
|
||||||
void xmrig::DonateStrategy::connect()
|
void xmrig::DonateStrategy::connect()
|
||||||
{
|
{
|
||||||
|
# ifdef XMRIG_ALGO_ASTROBWT
|
||||||
|
if (m_algorithm == Algorithm::ASTROBWT_DERO_2) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
# endif
|
||||||
|
|
||||||
m_proxy = createProxy();
|
m_proxy = createProxy();
|
||||||
if (m_proxy) {
|
if (m_proxy) {
|
||||||
m_proxy->connect();
|
m_proxy->connect();
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* XMRig
|
/* XMRig
|
||||||
* Copyright (c) 2018-2021 SChernykh <https://github.com/SChernykh>
|
* Copyright (c) 2018-2022 SChernykh <https://github.com/SChernykh>
|
||||||
* Copyright (c) 2016-2021 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
* Copyright (c) 2016-2022 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
Loading…
Reference in a new issue