Rename featureToStrandV2 to fix1373

This commit is contained in:
seelabs
2017-04-14 08:53:11 -04:00
committed by Nik Bougalis
parent 068889e5b1
commit 2680b78b5b
18 changed files with 24 additions and 24 deletions

View File

@@ -104,7 +104,7 @@ toStep (
JLOG (j.warn())
<< "Found offer/account payment step. Aborting payment strand.";
assert (0);
if (ctx.view.rules().enabled(featureToStrandV2))
if (ctx.view.rules().enabled(fix1373))
return {temBAD_PATH, std::unique_ptr<Step>{}};
Throw<FlowException> (tefEXCEPTION, "Found offer/account payment step.");
}
@@ -668,7 +668,7 @@ toStrand (
bool ownerPaysTransferFee,
beast::Journal j)
{
if (view.rules().enabled(featureToStrandV2))
if (view.rules().enabled(fix1373))
return toStrandV2(
view, src, dst, deliver, sendMaxIssue, path, ownerPaysTransferFee, j);
else