From ffc9673697e5b117a236224d5c86e436fd7ee2aa Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Tue, 18 Oct 2016 10:55:51 +0200 Subject: [PATCH] Merge #8932: Allow bitcoin-tx to create v2 transactions b0aea80 Sync bitcoin-tx with tx version policy (BtcDrak) --- src/dash-tx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dash-tx.cpp b/src/dash-tx.cpp index ad04599fc1..8fd5f86e13 100644 --- a/src/dash-tx.cpp +++ b/src/dash-tx.cpp @@ -173,7 +173,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;