remove useless if statement.

This commit is contained in:
Christopher Jeffrey 2014-11-11 11:45:57 -08:00
parent 98f9c66080
commit d2df3dd534
1 changed files with 2 additions and 4 deletions

View File

@ -4752,10 +4752,8 @@ NAN_METHOD(WalletImportKey) {
static void
async_import_key(uv_work_t *req) {
async_import_key_data* data = static_cast<async_import_key_data*>(req->data);
if (data->fRescan) {
// This may take a long time, do it on the libuv thread pool:
pwalletMain->ScanForWalletTransactions(chainActive.Genesis(), true);
}
// This may take a long time, do it on the libuv thread pool:
pwalletMain->ScanForWalletTransactions(chainActive.Genesis(), true);
}
static void