diff options
| author | Jeff Garzik <[email protected]> | 2013-07-31 08:45:49 -0400 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2013-07-31 08:45:49 -0400 |
| commit | 18946846d5c321d2afc11445580874c9a8bb0733 (patch) | |
| tree | f7f74b189fa9d1f17279160fb18d3d81655ff811 /src/main.cpp | |
| parent | Merge pull request #2866 from gavinandresen/loopdefine (diff) | |
| download | discoin-18946846d5c321d2afc11445580874c9a8bb0733.tar.xz discoin-18946846d5c321d2afc11445580874c9a8bb0733.zip | |
Minor miner fixes (hey hey it's fun to say)
* Fix UpdateCoins() definition in main.h
* Remove pwalletMain reference from BitcoinMiner(), as it is passed
a wallet argument.
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 39e1a5159..1d72ef16e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4681,7 +4681,7 @@ void static BitcoinMiner(CWallet *pwallet) assert(hash == pblock->GetHash()); SetThreadPriority(THREAD_PRIORITY_NORMAL); - CheckWork(pblock, *pwalletMain, reservekey); + CheckWork(pblock, *pwallet, reservekey); SetThreadPriority(THREAD_PRIORITY_LOWEST); // In regression test mode, stop mining after a block is found. This |