mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Remove broken option to skip input checking for wallet txn.
This commit is contained in:
parent
d1020b780a
commit
b1f15b218b
5 changed files with 15 additions and 16 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue