diff options
author | Jeff Garzik <jgarzik@bitpay.com> | 2013-06-10 06:17:38 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@bitpay.com> | 2013-06-10 06:17:38 -0700 |
commit | f59530ce6eb5a889e6eb750024ddb20e7b0df9d7 (patch) | |
tree | e224b540dce7890cbf54f43215a05213bd5cb494 /src/walletdb.cpp | |
parent | 8b313c93311813e8697807a701604d182ee83d44 (diff) | |
parent | 6e68524e95da2bedc21b1d95c4a206b902ab7c22 (diff) | |
download | bitcoin-f59530ce6eb5a889e6eb750024ddb20e7b0df9d7.tar.xz |
Merge pull request #2154 from CodeShark/dependencycleanup
Clean up code dependencies
Diffstat (limited to 'src/walletdb.cpp')
-rw-r--r-- | src/walletdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/walletdb.cpp b/src/walletdb.cpp index 4a73413d26..8910cac4bc 100644 --- a/src/walletdb.cpp +++ b/src/walletdb.cpp @@ -204,7 +204,7 @@ ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue, CWalletTx& wtx = pwallet->mapWallet[hash]; ssValue >> wtx; CValidationState state; - if (wtx.CheckTransaction(state) && (wtx.GetHash() == hash) && state.IsValid()) + if (CheckTransaction(wtx, state) && (wtx.GetHash() == hash) && state.IsValid()) wtx.BindWallet(pwallet); else { |