We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cd761fb + b0aea80 commit 614d522Copy full SHA for 614d522
src/bitcoin-tx.cpp
@@ -164,7 +164,7 @@ static void RegisterLoad(const string& strInput)
164
static void MutateTxVersion(CMutableTransaction& tx, const string& cmdVal)
165
{
166
int64_t newVersion = atoi64(cmdVal);
167
- if (newVersion < 1 || newVersion > CTransaction::CURRENT_VERSION)
+ if (newVersion < 1 || newVersion > CTransaction::MAX_STANDARD_VERSION)
168
throw runtime_error("Invalid TX version requested");
169
170
tx.nVersion = (int) newVersion;
0 commit comments