X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fmain.cpp;h=defa537a0a9bf607bee38eee23535027a2eb3410;hp=6df49c7ae7ea141d584aa44797fdffeccca547af;hb=a387ed6d733041338d8cfa92ef63ff514da7ce07;hpb=156de63aa640662cc35d3e17a059c51e4b74dc44 diff --git a/src/main.cpp b/src/main.cpp index 6df49c7..defa537 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -732,7 +732,7 @@ bool CTxMemPool::accept(CTxDB& txdb, CTransaction &tx, bool fCheckInputs, // Check against previous transactions // This is done last to help prevent CPU exhaustion denial-of-service attacks. - if (!tx.ConnectInputs(txdb, mapInputs, mapUnused, CDiskTxPos(1,1,1), pindexBest, false, false, true, SIG_SWITCH_TIME < tx.nTime ? STRICT_FLAGS : SOFT_FLAGS)) + if (!tx.ConnectInputs(txdb, mapInputs, mapUnused, CDiskTxPos(1,1,1), pindexBest, false, false, true, STRICT_FLAGS)) { return error("CTxMemPool::accept() : ConnectInputs failed %s", hash.ToString().substr(0,10).c_str()); }