aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.cpp
diff options
context:
space:
mode:
authorMatt Corallo <[email protected]>2013-06-13 22:28:03 +0200
committerMatt Corallo <[email protected]>2013-06-13 22:28:03 +0200
commitb1f15b218be8dfd1d2dbd375d469794bb7326748 (patch)
tree352477d43c623219e262d3e9db5149ab01e1ba76 /src/wallet.cpp
parentMerge pull request #2553 from Diapolo/threads (diff)
downloaddiscoin-b1f15b218be8dfd1d2dbd375d469794bb7326748.tar.xz
discoin-b1f15b218be8dfd1d2dbd375d469794bb7326748.zip
Remove broken option to skip input checking for wallet txn.
Diffstat (limited to 'src/wallet.cpp')
-rw-r--r--src/wallet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp
index 9a4a92cd5..4cd04bb6e 100644
--- a/src/wallet.cpp
+++ b/src/wallet.cpp
@@ -852,7 +852,7 @@ void CWallet::ReacceptWalletTransactions()
{
// Re-accept any txes of ours that aren't already in a block
if (!wtx.IsCoinBase())
- wtx.AcceptWalletTransaction(false);
+ wtx.AcceptWalletTransaction();
}
}
if (fMissing)
@@ -1365,7 +1365,7 @@ bool CWallet::CommitTransaction(CWalletTx& wtxNew, CReserveKey& reservekey)
mapRequestCount[wtxNew.GetHash()] = 0;
// Broadcast
- if (!wtxNew.AcceptToMemoryPool(true, false))
+ if (!wtxNew.AcceptToMemoryPool(false))
{
// This must not fail. The transaction has already been signed and recorded.
printf("CommitTransaction() : Error: Transaction not valid");