mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-02-02 10:14:31 +00:00
Accept non-standard transactions on testnet.
This commit is contained in:
parent
72e962cf55
commit
5ec05f0a28
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)
|
if (GetSigOpCount() > nSize / 34 || nSize < 100)
|
||||||
return error("AcceptToMemoryPool() : nonstandard transaction");
|
return error("AcceptToMemoryPool() : nonstandard transaction");
|
||||||
|
|
||||||
// Rather not work on nonstandard transactions
|
// Rather not work on nonstandard transactions (unless -testnet)
|
||||||
if (!IsStandard())
|
if (!fTestNet && !IsStandard())
|
||||||
return error("AcceptToMemoryPool() : nonstandard transaction type");
|
return error("AcceptToMemoryPool() : nonstandard transaction type");
|
||||||
|
|
||||||
// Do we already have it?
|
// Do we already have it?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user