diff --git a/src/cpp/ripple/LoadManager.cpp b/src/cpp/ripple/LoadManager.cpp index d596ddcf61..1a03a92bd2 100644 --- a/src/cpp/ripple/LoadManager.cpp +++ b/src/cpp/ripple/LoadManager.cpp @@ -247,8 +247,8 @@ bool LoadFeeTrack::raiseLocalFee() boost::mutex::scoped_lock sl(mLock); uint32 origFee = mLocalTxnLoadFee; - if (mLocalTxnLoadFee < mLocalTxnLoadFee) // make sure this fee takes effect - mLocalTxnLoadFee = mLocalTxnLoadFee; + if (mLocalTxnLoadFee < mRemoteTxnLoadFee) // make sure this fee takes effect + mLocalTxnLoadFee = mRemoteTxnLoadFee; mLocalTxnLoadFee += (mLocalTxnLoadFee / lftFeeIncFraction); // increment by 1/16th diff --git a/src/cpp/ripple/NetworkOPs.cpp b/src/cpp/ripple/NetworkOPs.cpp index 4940215d9c..a97bb08f2d 100644 --- a/src/cpp/ripple/NetworkOPs.cpp +++ b/src/cpp/ripple/NetworkOPs.cpp @@ -1163,7 +1163,7 @@ Json::Value NetworkOPs::getServerInfo(bool human, bool admin) } else info["load_factor"] = - static_cast(theApp->getFeeTrack().getLoadBase()) / theApp->getFeeTrack().getLoadFactor(); + static_cast(theApp->getFeeTrack().getLoadFactor()) / theApp->getFeeTrack().getLoadBase(); bool valid = false; Ledger::pointer lpClosed = getValidatedLedger();