mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Validate fee during preflight
This commit is contained in:
@@ -31,6 +31,10 @@ namespace ripple {
|
||||
TER
|
||||
SetAccount::preflight (PreflightContext const& ctx)
|
||||
{
|
||||
auto const ret = preflight1 (ctx);
|
||||
if (!isTesSuccess (ret))
|
||||
return ret;
|
||||
|
||||
auto& tx = ctx.tx;
|
||||
auto& j = ctx.j;
|
||||
|
||||
@@ -99,7 +103,7 @@ SetAccount::preflight (PreflightContext const& ctx)
|
||||
}
|
||||
}
|
||||
|
||||
return Transactor::preflight(ctx);
|
||||
return preflight2(ctx);
|
||||
}
|
||||
|
||||
TER
|
||||
|
||||
Reference in New Issue
Block a user