mirror of
https://github.com/Xahau/xahaud.git
synced 2026-10-11 06:18:03 +00:00
Compare commits
1 Commits
dev
...
refactor-t
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ad72a3350b |
@@ -2050,6 +2050,16 @@ Transactor::operator()()
|
||||
if (auto stream = j_.trace())
|
||||
stream << "preclaim result: " << transToken(result);
|
||||
|
||||
return finishApply(result, hooksEnabled, aawMap, tsh);
|
||||
}
|
||||
|
||||
ApplyResult
|
||||
Transactor::finishApply(
|
||||
TER result,
|
||||
bool hooksEnabled,
|
||||
std::map<AccountID, std::set<uint256>>& aawMap,
|
||||
std::vector<std::pair<AccountID, bool>>& tsh)
|
||||
{
|
||||
bool applied = isTesSuccess(result);
|
||||
|
||||
auto fee = ctx_.tx.getFieldAmount(sfFee).xrp();
|
||||
|
||||
@@ -228,6 +228,15 @@ protected:
|
||||
// deduced until after apply i.e. pathing
|
||||
// participants, crossed offers
|
||||
|
||||
// The post-apply pipeline of operator(): tec handling (reset),
|
||||
// invariants, balance rewards, weak hooks and commit.
|
||||
ApplyResult
|
||||
finishApply(
|
||||
TER result,
|
||||
bool hooksEnabled,
|
||||
std::map<AccountID, std::set<uint256>>& aawMap,
|
||||
std::vector<std::pair<AccountID, bool>>& tsh);
|
||||
|
||||
///////////////////////////////////////////////////
|
||||
|
||||
TER
|
||||
|
||||
Reference in New Issue
Block a user