diff --git a/src/main.cpp b/src/main.cpp index 45c0e44f..065c588e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -481,7 +481,7 @@ bool CheckTransaction(const CTransaction& tx, CValidationState &state, int maxHe return state.DoS(10, error("CheckTransaction() : username check failed")); } // Size limits - if (::GetSerializeSize(tx, SER_NETWORK, PROTOCOL_VERSION) > MAX_BLOCK_SIZE) + if (::GetSerializeSize(tx, SER_NETWORK, PROTOCOL_VERSION) > 512) return state.DoS(100, error("CTransaction::CheckTransaction() : size limits failed")); // Check proof of work matches claimed amount