add correct imports

This commit is contained in:
Denis Angell
2024-05-14 12:03:07 +02:00
parent cb77121e20
commit 03569dbb11
2 changed files with 4 additions and 1 deletions

View File

@@ -24,12 +24,14 @@
#include <ripple/basics/base64.h>
#include <ripple/json/json_reader.h>
#include <ripple/json/json_value.h>
#include <ripple/json/to_string.h>
#include <ripple/ledger/View.h>
#include <ripple/protocol/Feature.h>
#include <ripple/protocol/Import.h>
#include <ripple/protocol/Indexes.h>
#include <ripple/protocol/PublicKey.h>
#include <ripple/protocol/STTx.h>
#include <ripple/protocol/STValidation.h>
#include <ripple/protocol/st.h>
#include <algorithm>
#include <charconv>

View File

@@ -171,7 +171,8 @@ STValidation::STValidation(
{
if (checkSignature && !isValid())
{
JLOG(debugLog().error()) << "Invalid signature in validation";
JLOG(debugLog().error()) << "Invalid signature in validation: "
<< getJson(JsonOptions::none);
Throw<std::runtime_error>("Invalid signature in validation");
}