mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-25 08:00:22 +00:00
clang-format
This commit is contained in:
@@ -657,8 +657,7 @@ std::vector<std::shared_ptr<STTx const>> const&
|
||||
STTx::getBatchTransactions() const
|
||||
{
|
||||
XRPL_ASSERT(getTxnType() == ttBATCH, "STTx::getBatchTransactions : batch transaction");
|
||||
XRPL_ASSERT(
|
||||
batchTxns_.has_value(), "STTx::getBatchTransactions : batch transactions built");
|
||||
XRPL_ASSERT(batchTxns_.has_value(), "STTx::getBatchTransactions : batch transactions built");
|
||||
XRPL_ASSERT(
|
||||
batchTxns_->size() == getFieldArray(sfRawTransactions).size(),
|
||||
"STTx::getBatchTransactions : batch transactions size mismatch");
|
||||
|
||||
@@ -427,8 +427,8 @@ calculateBaseFee(ReadView const& view, STTx const& tx)
|
||||
catch (std::exception const& e)
|
||||
{
|
||||
// LCOV_EXCL_START
|
||||
// A fee calc should not throw; return an unpayable fee so the
|
||||
// transaction fails the fee check.
|
||||
// A fee calc should not throw; return a fee too large to pay so
|
||||
// the transaction fails the fee check.
|
||||
JLOG(debugLog().error()) << "apply (calculateBaseFee): " << e.what();
|
||||
return XRPAmount{kInitialXrp};
|
||||
// LCOV_EXCL_STOP
|
||||
|
||||
@@ -72,6 +72,7 @@
|
||||
#include <algorithm>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <exception>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
#include <xrpl.pb.h>
|
||||
|
||||
#include <cstdint>
|
||||
#include <cstring>
|
||||
#include <exception>
|
||||
#include <memory>
|
||||
|
||||
Reference in New Issue
Block a user