diff options
| author | BtcDrak <[email protected]> | 2016-08-26 22:35:46 +0100 |
|---|---|---|
| committer | BtcDrak <[email protected]> | 2016-10-16 23:22:15 +0100 |
| commit | b0aea8057921f0ed2288cf07048f652c7d6d9cf3 (patch) | |
| tree | 670008ea702bd826a4827d48b7c83a2535e52c3f /src/bitcoin-tx.cpp | |
| parent | Merge #8880: protocol.h: Move MESSAGE_START_SIZE into CMessageHeader (diff) | |
| download | discoin-b0aea8057921f0ed2288cf07048f652c7d6d9cf3.tar.xz discoin-b0aea8057921f0ed2288cf07048f652c7d6d9cf3.zip | |
Sync bitcoin-tx with tx version policy
Diffstat (limited to 'src/bitcoin-tx.cpp')
| -rw-r--r-- | src/bitcoin-tx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-tx.cpp b/src/bitcoin-tx.cpp index cb863bda1..e09afd632 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; |