bug fixes

This commit is contained in:
Richard Holland
2023-07-12 08:02:04 +00:00
parent 076b8e3e11
commit 152780b218
5 changed files with 11 additions and 22 deletions

View File

@@ -131,20 +131,6 @@ Import::preflight(PreflightContext const& ctx)
auto& tx = ctx.tx;
if (tx.getFieldAmount(sfFee) != beast::zero)
{
if (tx.isFieldPresent(sfIssuer))
{
// pass. Import against a Hook does pay a fee
}
else
{
JLOG(ctx.j.warn())
<< "Import: sfFee must be 0 "
<< tx.getTransactionID();
return temMALFORMED;
}
}
if (tx.getFieldVL(sfBlob).size() > (512 * 1024))
{