diff options
| author | Jeff Garzik <[email protected]> | 2013-06-10 06:17:38 -0700 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2013-06-10 06:17:38 -0700 |
| commit | f59530ce6eb5a889e6eb750024ddb20e7b0df9d7 (patch) | |
| tree | e224b540dce7890cbf54f43215a05213bd5cb494 /src/walletdb.cpp | |
| parent | Merge pull request #2749 from laanwj/2013_06_addtotalbalance (diff) | |
| parent | Removed the main.h include from net.cpp. (diff) | |
| download | discoin-f59530ce6eb5a889e6eb750024ddb20e7b0df9d7.tar.xz discoin-f59530ce6eb5a889e6eb750024ddb20e7b0df9d7.zip | |
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 4a73413d2..8910cac4b 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 { |