Skip to content

Commit

Permalink
Merge upstream pull request xpc-wg#95
Browse files Browse the repository at this point in the history
  • Loading branch information
naomi-mcrn committed Jul 30, 2019
2 parents 4cca090 + 092c9e3 commit 467facb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/miner.cpp
Expand Up @@ -20,6 +20,7 @@
#include <pow.h>
#include <primitives/transaction.h>
#include <script/standard.h>
#include <shutdown.h>
#include <timedata.h>
#include <util.h>
#include <utilmoneystr.h>
Expand Down Expand Up @@ -717,6 +718,12 @@ void BitcoinMinter(const std::shared_ptr<CWallet>& wallet)
}

for (COutput coin : vCoins) {

// check : Is wallet shutting down
if(ShutdownRequested()){
return;
}

CBlockIndex* pprevIndex;
if(!GetPrevBlockIndex(coin, &pprevIndex)){
continue;
Expand Down

0 comments on commit 467facb

Please sign in to comment.