mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
bug fixes
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user