aboutsummaryrefslogtreecommitdiff
path: root/src/walletdb.cpp
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2013-06-10 06:17:38 -0700
committerJeff Garzik <[email protected]>2013-06-10 06:17:38 -0700
commitf59530ce6eb5a889e6eb750024ddb20e7b0df9d7 (patch)
treee224b540dce7890cbf54f43215a05213bd5cb494 /src/walletdb.cpp
parentMerge pull request #2749 from laanwj/2013_06_addtotalbalance (diff)
parentRemoved the main.h include from net.cpp. (diff)
downloaddiscoin-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.cpp2
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
{