diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-07-19 12:09:11 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-07-19 12:09:15 +0200 |
| commit | ca7550e128a3fa56baa129fc89d8000ba16a8ae5 (patch) | |
| tree | 931520ad5742b9a758a4bd9143fdfe96f180ab79 /src/wallet/wallet.cpp | |
| parent | doc: Clean out release notes (diff) | |
| parent | Rename "block cost" to "block weight" (diff) | |
| download | discoin-ca7550e128a3fa56baa129fc89d8000ba16a8ae5.tar.xz discoin-ca7550e128a3fa56baa129fc89d8000ba16a8ae5.zip | |
Merge #8363: Rename "block cost" to "block weight"
2c06bae Rename "block cost" to "block weight" (Suhas Daftuar)
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; |