upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui.cpp')
-rw-r--r--src/gui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui.cpp b/src/gui.cpp
index fc6f1e1..825202b 100644
--- a/src/gui.cpp
+++ b/src/gui.cpp
@@ -32,6 +32,7 @@ int64 GetBalance();
32string PubKeyToAddress(const std::vector<unsigned char>& vchPubKey); 32string PubKeyToAddress(const std::vector<unsigned char>& vchPubKey);
33bool AddressToHash160(const std::string& str, uint160& hash160Ret); 33bool AddressToHash160(const std::string& str, uint160& hash160Ret);
34void ThreadBitcoinMiner(void*); 34void ThreadBitcoinMiner(void*);
35int StartMinerThreads();
35void ThreadRPCServer(void*); 36void ThreadRPCServer(void*);
36 37
37// --------------------------------------------------------------------------- 38// ---------------------------------------------------------------------------
@@ -762,7 +763,7 @@ static void DrawOptionsDialog()
762 fGenerateBitcoins = 0; 763 fGenerateBitcoins = 0;
763 } else { 764 } else {
764 fGenerateBitcoins = 1; 765 fGenerateBitcoins = 1;
765 if (!vfThreadRunning[3]) _beginthread(ThreadBitcoinMiner, 0, NULL); 766 if (!vfThreadRunning[3]) StartMinerThreads();
766 } 767 }
767 768
768 if (nMineMode == MINE_OPERATOR) { 769 if (nMineMode == MINE_OPERATOR) {