mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
ensure that XahauGenesis amendment will effectively disable DeletableAccounts
This commit is contained in:
@@ -1221,8 +1221,11 @@ Import::doApply()
|
||||
{
|
||||
// Create the account.
|
||||
std::uint32_t const seqno{
|
||||
view().rules().enabled(featureDeletableAccounts) ? view().seq()
|
||||
: 1};
|
||||
view().rules().enabled(featureDeletableAccounts) &&
|
||||
!view().rules().enabled(featureXahauGenesis)
|
||||
? view().seq()
|
||||
: 1};
|
||||
|
||||
sle = std::make_shared<SLE>(keylet::account(id));
|
||||
sle->setAccountID(sfAccount, id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user