From b1f15b218be8dfd1d2dbd375d469794bb7326748 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Thu, 13 Jun 2013 22:28:03 +0200 Subject: Remove broken option to skip input checking for wallet txn. --- src/main.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.h') diff --git a/src/main.h b/src/main.h index f20fad98a..87f1dbfa8 100644 --- a/src/main.h +++ b/src/main.h @@ -478,7 +478,7 @@ public: int GetDepthInMainChain() const { CBlockIndex *pindexRet; return GetDepthInMainChain(pindexRet); } bool IsInMainChain() const { return GetDepthInMainChain() > 0; } int GetBlocksToMaturity() const; - bool AcceptToMemoryPool(bool fCheckInputs=true, bool fLimitFree=true); + bool AcceptToMemoryPool(bool fLimitFree=true); }; @@ -1334,7 +1334,7 @@ public: std::map mapTx; std::map mapNextTx; - bool accept(CValidationState &state, CTransaction &tx, bool fCheckInputs, bool fLimitFree, bool* pfMissingInputs); + bool accept(CValidationState &state, CTransaction &tx, bool fLimitFree, bool* pfMissingInputs); bool addUnchecked(const uint256& hash, CTransaction &tx); bool remove(const CTransaction &tx, bool fRecursive = false); bool removeConflicts(const CTransaction &tx); -- cgit v1.2.3