mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-03 09:56:38 -05:00
Accept non-standard transactions on testnet.
This commit is contained in:
parent
72e962cf55
commit
5ec05f0a28
1 changed files with 2 additions and 2 deletions
4
main.cpp
4
main.cpp
|
@ -691,8 +691,8 @@ bool CTransaction::AcceptToMemoryPool(CTxDB& txdb, bool fCheckInputs, bool* pfMi
|
|||
if (GetSigOpCount() > nSize / 34 || nSize < 100)
|
||||
return error("AcceptToMemoryPool() : nonstandard transaction");
|
||||
|
||||
// Rather not work on nonstandard transactions
|
||||
if (!IsStandard())
|
||||
// Rather not work on nonstandard transactions (unless -testnet)
|
||||
if (!fTestNet && !IsStandard())
|
||||
return error("AcceptToMemoryPool() : nonstandard transaction type");
|
||||
|
||||
// Do we already have it?
|
||||
|
|
Loading…
Add table
Reference in a new issue