Merge pull request #1414 from blackjok3rtt/jl777

try wallet fix
This commit is contained in:
jl777
2019-04-13 20:56:53 -11:00
committed by GitHub

View File

@@ -961,7 +961,7 @@ DBErrors CWalletDB::LoadWallet(CWallet* pwallet)
if (GetTransaction(hash,tx,blockhash,true)) if (GetTransaction(hash,tx,blockhash,true))
{ {
CWalletTx wtx(pwallet,tx); CWalletTx wtx(pwallet,tx);
pwallet->AddToWallet(wtx, true, NULL); pwallet->AddToWallet(wtx, false, NULL);
reAdded++; reAdded++;
} }
} }