Rename MAX_TX_SIZE to MAX_TX_SIZE_AFTER_SAPLING

This commit is contained in:
Jack Grigg
2018-04-30 15:13:32 +01:00
parent ddcee7e13a
commit 25fee3509a
4 changed files with 11 additions and 10 deletions

View File

@@ -2590,7 +2590,7 @@ bool CWallet::CreateTransaction(const vector<CRecipient>& vecSend, CWalletTx& wt
}
}
unsigned int max_tx_size = MAX_TX_SIZE;
unsigned int max_tx_size = MAX_TX_SIZE_AFTER_SAPLING;
if (!NetworkUpgradeActive(nextBlockHeight, Params().GetConsensus(), Consensus::UPGRADE_SAPLING)) {
max_tx_size = MAX_TX_SIZE_BEFORE_SAPLING;
}