diff options
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 9bb3c24..1b09a1a 100644 --- a/src/main.cpp +++ b/src/main.cpp | |||
| @@ -1719,7 +1719,7 @@ bool CBlock::CheckBlock() const | |||
| 1719 | // that can be verified before saving an orphan block. | 1719 | // that can be verified before saving an orphan block. |
| 1720 | 1720 | ||
| 1721 | // Size limits | 1721 | // Size limits |
| 1722 | if (vtx.empty() || vtx.size() > MAX_SIZE || ::GetSerializeSize(*this, SER_DISK) > MAX_SIZE) | 1722 | if (!CheckSizeLimits()) |
| 1723 | return error("CheckBlock() : size limits failed"); | 1723 | return error("CheckBlock() : size limits failed"); |
| 1724 | 1724 | ||
| 1725 | // Check timestamp | 1725 | // Check timestamp |