aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBtcDrak <btcdrak@gmail.com>2016-08-26 22:35:46 +0100
committerLuke Dashjr <luke-jr+git@utopios.org>2016-12-02 07:41:11 +0000
commit106da691a5b935289dfecb25ee4fe2f085cee77f (patch)
tree85d8f7cfd132078a994637a969cba03d98e54170 /src
parent12428b4d8a3dff3c32c909964536ed69f043f9d3 (diff)
downloadbitcoin-106da691a5b935289dfecb25ee4fe2f085cee77f.tar.xz
Sync bitcoin-tx with tx version policy
Github-Pull: #8932 Rebased-From: b0aea8057921f0ed2288cf07048f652c7d6d9cf3
Diffstat (limited to 'src')
-rw-r--r--src/bitcoin-tx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-tx.cpp b/src/bitcoin-tx.cpp
index 8e8ac47455..b24f295530 100644
--- a/src/bitcoin-tx.cpp
+++ b/src/bitcoin-tx.cpp
@@ -164,7 +164,7 @@ static void RegisterLoad(const string& strInput)
static void MutateTxVersion(CMutableTransaction& tx, const string& cmdVal)
{
int64_t newVersion = atoi64(cmdVal);
- if (newVersion < 1 || newVersion > CTransaction::CURRENT_VERSION)
+ if (newVersion < 1 || newVersion > CTransaction::MAX_STANDARD_VERSION)
throw runtime_error("Invalid TX version requested");
tx.nVersion = (int) newVersion;