diff options
| author | Suhas Daftuar <[email protected]> | 2016-07-18 13:28:26 -0400 |
|---|---|---|
| committer | Suhas Daftuar <[email protected]> | 2016-07-18 13:28:26 -0400 |
| commit | 2c06bae39edfaa9c0855d83377ad8fda09e4fa08 (patch) | |
| tree | 931520ad5742b9a758a4bd9143fdfe96f180ab79 /src/wallet/wallet.cpp | |
| parent | doc: Clean out release notes (diff) | |
| download | discoin-2c06bae39edfaa9c0855d83377ad8fda09e4fa08.tar.xz discoin-2c06bae39edfaa9c0855d83377ad8fda09e4fa08.zip | |
Rename "block cost" to "block weight"
Diffstat (limited to 'src/wallet/wallet.cpp')
| -rw-r--r-- | src/wallet/wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 46ed54215..4b6d98025 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -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; |