Skip to content

Commit

Permalink
Merge pull request bitcoin#10 from btc1/2017_bitcoin_tx_size
Browse files Browse the repository at this point in the history
bitcoin-tx: Decouple max-tx-size from max-block-size
  • Loading branch information
jgarzik committed Jun 4, 2017
2 parents 1719c87 + e7a097e commit f3fbd6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bitcoin-tx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ static void MutateTxAddInput(CMutableTransaction& tx, const std::string& strInpu
uint256 txid(uint256S(strTxid));

static const unsigned int minTxOutSz = 9;
static const unsigned int maxVout = MAX_BLOCK_BASE_SIZE / minTxOutSz;
static const unsigned int maxVout = MAX_TX_BASE_SIZE / minTxOutSz;

// extract and validate vout
std::string strVout = vStrInputParts[1];
Expand Down

0 comments on commit f3fbd6d

Please sign in to comment.