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