mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Allow administrators to submit transactions that don't meet the local load fee.
This commit is contained in:
@@ -1618,11 +1618,11 @@ uint64 Ledger::scaleFeeBase(uint64 fee)
|
||||
return theApp->getFeeTrack().scaleFeeBase(fee, mBaseFee, mReferenceFeeUnits);
|
||||
}
|
||||
|
||||
uint64 Ledger::scaleFeeLoad(uint64 fee)
|
||||
uint64 Ledger::scaleFeeLoad(uint64 fee, bool bAdmin)
|
||||
{
|
||||
if (!mBaseFee)
|
||||
updateFees();
|
||||
return theApp->getFeeTrack().scaleFeeLoad(fee, mBaseFee, mReferenceFeeUnits);
|
||||
return theApp->getFeeTrack().scaleFeeLoad(fee, mBaseFee, mReferenceFeeUnits, bAdmin);
|
||||
}
|
||||
|
||||
std::vector<uint256> Ledger::getNeededTransactionHashes(int max)
|
||||
|
||||
Reference in New Issue
Block a user