mirror of
https://github.com/AskDavis/Casinotest.git
synced 2026-01-02 20:09:47 -08:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e3224da987 |
@@ -67,8 +67,11 @@ Value importprivkey(const Array& params, bool fHelp)
|
|||||||
throw JSONRPCError(RPC_WALLET_ERROR, "Error adding key to wallet");
|
throw JSONRPCError(RPC_WALLET_ERROR, "Error adding key to wallet");
|
||||||
|
|
||||||
if (fRescan) {
|
if (fRescan) {
|
||||||
|
printf("Start scanning for wallet transactions, please wait, this may take a while.\n");
|
||||||
pwalletMain->ScanForWalletTransactions(pindexGenesisBlock, true);
|
pwalletMain->ScanForWalletTransactions(pindexGenesisBlock, true);
|
||||||
|
printf("Reaccepting wallet transactions.\n");
|
||||||
pwalletMain->ReacceptWalletTransactions();
|
pwalletMain->ReacceptWalletTransactions();
|
||||||
|
printf("Rescan done.\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user