mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Merge remote-tracking branch 'upstream/dev' into hook-api-unittest
This commit is contained in:
@@ -927,7 +927,13 @@ HookAPI::etxn_fee_base(ripple::Slice const& txBlob) const
|
||||
SerialIter sitTrans(txBlob);
|
||||
std::unique_ptr<STTx const> stpTrans =
|
||||
std::make_unique<STTx const>(std::ref(sitTrans));
|
||||
return Transactor::calculateBaseFee(
|
||||
|
||||
if (!hookCtx.applyCtx.view().rules().enabled(fixEtxnFeeBase))
|
||||
return Transactor::calculateBaseFee(
|
||||
*(applyCtx.app.openLedger().current()), *stpTrans)
|
||||
.drops();
|
||||
|
||||
return invoke_calculateBaseFee(
|
||||
*(applyCtx.app.openLedger().current()), *stpTrans)
|
||||
.drops();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user