Validate fee during preflight

This commit is contained in:
Nik Bougalis
2015-07-31 11:25:31 -07:00
parent 22a8e25538
commit 5b90ccf65d
13 changed files with 105 additions and 40 deletions

View File

@@ -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