Rename "block cost" to "block weight"

Github-Pull: #8363
Rebased-From: 2c06bae39edfaa9c0855d83377ad8fda09e4fa08
This commit is contained in:
Suhas Daftuar
2016-07-18 13:28:26 -04:00
committed by Wladimir J. van der Laan
parent a07c8a032c
commit fca1a415ce
18 changed files with 69 additions and 69 deletions

View File

@@ -2356,7 +2356,7 @@ bool CWallet::CreateTransaction(const vector<CRecipient>& vecSend, CWalletTx& wt
*static_cast<CTransaction*>(&wtxNew) = CTransaction(txNew);
// Limit size
if (GetTransactionCost(txNew) >= MAX_STANDARD_TX_COST)
if (GetTransactionWeight(txNew) >= MAX_STANDARD_TX_WEIGHT)
{
strFailReason = _("Transaction too large");
return false;