diff options
| author | Tomo Ueda <[email protected]> | 2021-09-02 12:55:18 -0700 |
|---|---|---|
| committer | Tomo Ueda <[email protected]> | 2021-09-02 12:55:18 -0700 |
| commit | e64843ced509c24f783276d4cc0f2f26c9d527f2 (patch) | |
| tree | 7956d4ea416c5b3a531dbc6f356e1c9a643d9690 /src/wallet/wallet.cpp | |
| parent | really s/doge/dis/g this time (diff) | |
| download | discoin-e64843ced509c24f783276d4cc0f2f26c9d527f2.tar.xz discoin-e64843ced509c24f783276d4cc0f2f26c9d527f2.zip | |
really s/Doge/Dis/g this time
Diffstat (limited to 'src/wallet/wallet.cpp')
| -rw-r--r-- | src/wallet/wallet.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 31cfd6095..107275b38 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -2845,8 +2845,8 @@ bool CWallet::AddAccountingEntry(const CAccountingEntry& acentry, CWalletDB *pwa CAmount CWallet::GetRequiredFee(const CMutableTransaction& tx, unsigned int nTxBytes) { - // Dogecoin: Add an increased fee for each dust output - return std::max(minTxFee.GetFee(nTxBytes) + GetDogecoinDustFee(tx.vout, minTxFee), ::minRelayTxFeeRate.GetFee(nTxBytes)); + // Discoin: Add an increased fee for each dust output + return std::max(minTxFee.GetFee(nTxBytes) + GetDiscoinDustFee(tx.vout, minTxFee), ::minRelayTxFeeRate.GetFee(nTxBytes)); } CAmount CWallet::GetRequiredFee(unsigned int nTxBytes) @@ -2871,11 +2871,11 @@ CAmount CWallet::GetMinimumFee(const CMutableTransaction& tx, unsigned int nTxBy //if (nFeeNeeded == 0) // nFeeNeeded = fallbackFee.GetFee(nTxBytes); - // Dogecoin: Drop the smart fee estimate, use GetRequiredFee + // Discoin: Drop the smart fee estimate, use GetRequiredFee nFeeNeeded = GetRequiredFee(tx, nTxBytes); } // prevent user from paying a fee below minRelayTxFee or minTxFee - // Dogecoin: as we're adapting minTxFee to never be higher than + // Discoin: as we're adapting minTxFee to never be higher than // payTxFee unless explicitly set, this should be fine nFeeNeeded = std::max(nFeeNeeded, GetRequiredFee(tx, nTxBytes)); |