Skip to content

Commit

Permalink
add second arg for ScanForWalletTransactions
Browse files Browse the repository at this point in the history
Signed-off-by: Pasta <pasta@dashboost.org>
  • Loading branch information
PastaPastaPasta committed Jan 16, 2020
1 parent 4b200ba commit 3c8a15f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/rpcdump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ UniValue importelectrumwallet(const JSONRPCRequest& request)
pwallet->UpdateTimeFirstKey(nTimeBegin);

LogPrintf("Rescanning %i blocks\n", chainActive.Height() - nStartHeight + 1);
pwallet->ScanForWalletTransactions(chainActive[nStartHeight], true);
pwallet->ScanForWalletTransactions(chainActive[nStartHeight], nullptr, true);

if (!fGood)
throw JSONRPCError(RPC_WALLET_ERROR, "Error adding some keys to wallet");
Expand Down

0 comments on commit 3c8a15f

Please sign in to comment.