diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-04-19 08:51:32 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-04-19 08:51:40 +0200 |
commit | 913e90db9ad9d083e4f851e5e3f1139ff5524309 (patch) | |
tree | f8bc2628286781f3db1fa3d550042e717e7fc1b3 /src/wallet.cpp | |
parent | fe451fe9441c9b23e4a13a1f00974e29f7a30462 (diff) | |
parent | 09ec3af16687aa301a921a1a6e94d7a57d4af141 (diff) |
Merge pull request #3701
09ec3af AddToWallet implies BindWallet (Wladimir J. van der Laan)
Diffstat (limited to 'src/wallet.cpp')
-rw-r--r-- | src/wallet.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp index 775eb8f580..03a699a69c 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -471,6 +471,7 @@ bool CWallet::AddToWallet(const CWalletTx& wtxIn, bool fFromLoadWallet) if (fFromLoadWallet) { mapWallet[hash] = wtxIn; + mapWallet[hash].BindWallet(this); AddToSpends(hash); } else |