mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Merge remote-tracking branch 'XRPLF/develop' into ximinez/lending-XLS-66
* XRPLF/develop: refactor: Add support for extra transaction signatures (5594) refactor: Restructure Transactor::preflight to reduce boilerplate (5592)
This commit is contained in:
@@ -584,7 +584,7 @@ public:
|
||||
testBadSigningKey()
|
||||
{
|
||||
using namespace test::jtx;
|
||||
testcase("Bad singing key");
|
||||
testcase("Bad signing key");
|
||||
Env env(*this);
|
||||
Account const alice("alice");
|
||||
|
||||
|
||||
@@ -46,8 +46,11 @@ CreateOffer::makeTxConsequences(PreflightContext const& ctx)
|
||||
bool
|
||||
CreateOffer::checkExtraFeatures(PreflightContext const& ctx)
|
||||
{
|
||||
return (!ctx.tx.isFieldPresent(sfDomainID)) ||
|
||||
ctx.rules.enabled(featurePermissionedDEX);
|
||||
if (ctx.tx.isFieldPresent(sfDomainID) &&
|
||||
!ctx.rules.enabled(featurePermissionedDEX))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
std::uint32_t
|
||||
|
||||
Reference in New Issue
Block a user