diff --git a/src/bitcoindjs.cc b/src/bitcoindjs.cc index 7ed2b4f1..359beac7 100644 --- a/src/bitcoindjs.cc +++ b/src/bitcoindjs.cc @@ -4752,10 +4752,8 @@ NAN_METHOD(WalletImportKey) { static void async_import_key(uv_work_t *req) { async_import_key_data* data = static_cast(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