Merge pull request #3701
09ec3af AddToWallet implies BindWallet (Wladimir J. van der Laan)
This commit is contained in:
@@ -471,6 +471,7 @@ bool CWallet::AddToWallet(const CWalletTx& wtxIn, bool fFromLoadWallet)
|
||||
if (fFromLoadWallet)
|
||||
{
|
||||
mapWallet[hash] = wtxIn;
|
||||
mapWallet[hash].BindWallet(this);
|
||||
AddToSpends(hash);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user