diff options
| author | Gavin Andresen <[email protected]> | 2011-04-20 11:20:33 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2011-04-20 11:20:33 -0400 |
| commit | 5ec05f0a280acdfeafdfb9920ce157108c161449 (patch) | |
| tree | d90e8d168fa465b7d521090a87432b5c47d7d451 | |
| parent | getbalance '*' was ignoring minconf param. (diff) | |
| download | discoin-5ec05f0a280acdfeafdfb9920ce157108c161449.tar.xz discoin-5ec05f0a280acdfeafdfb9920ce157108c161449.zip | |
Accept non-standard transactions on testnet.
| -rw-r--r-- | main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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? |