diff options
| author | ~login@aussies.space <login@aussies.space> | 2019-11-14 10:31:21 +1100 |
|---|---|---|
| committer | ~login@aussies.space <login@aussies.space> | 2019-11-14 10:31:21 +1100 |
| commit | d58ca79724c69b81985cd241b6c88faf6d38c1a9 (patch) | |
| tree | 6c1e753de67b00d1004daeb29d31a95d5b35af92 | |
| parent | 3c4fb6f834203c6f095024c6deab2a1897842286 (diff) | |
| download | tcoin-d58ca79724c69b81985cd241b6c88faf6d38c1a9.tar.gz | |
Bugfix to disable minercoin-score addition in pcoin.cpp
In pcoin.cpp, minercoin-score addition can be disabled by writing #define MINERCOIN_OFF near the symbolic-constant definitions.
However, in one place, a check for the absence of the DA_OFF symbolic constant was being made instead of MINERCOIN_OFF. This is now fixed.
| -rw-r--r-- | pcoin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1608,7 +1608,7 @@ int main(int argc, char *argv[]) } #endif - #ifndef DA_OFF + #ifndef MINERCOIN_OFF //adding minercoin scores from minerobber to base amount { std::string command_to_exec = std::string(MINERCOIN_CMD_PRE_USERNAME) + get_username() + std::string(MINERCOIN_CMD_POST_USERNAME); |