diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-10-18 10:55:51 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-10-18 11:45:07 +0200 |
| commit | 614d522c3e4468262406f767f8b31da4ac5a0878 (patch) | |
| tree | 7b65c30331ca51e17bc55f7c90f99d9288cdf05a /src/bitcoin-tx.cpp | |
| parent | Merge #8944: Remove bogus assert on number of oubound connections. (diff) | |
| parent | Sync bitcoin-tx with tx version policy (diff) | |
| download | discoin-614d522c3e4468262406f767f8b31da4ac5a0878.tar.xz discoin-614d522c3e4468262406f767f8b31da4ac5a0878.zip | |
Merge #8932: Allow bitcoin-tx to create v2 transactions
b0aea80 Sync bitcoin-tx with tx version policy (BtcDrak)
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; |