change deletable account disable logic, fix test cases

This commit is contained in:
Richard Holland
2023-08-17 12:31:28 +00:00
parent 01a4df0584
commit 0f83256ffa
9 changed files with 60 additions and 41 deletions

View File

@@ -594,8 +594,7 @@ ValidNewAccountRoot::finalize(
if ((tt == ttPAYMENT || tt == ttIMPORT || tt == ttGENESIS_MINT) && result == tesSUCCESS)
{
std::uint32_t const startingSeq{
view.rules().enabled(featureDeletableAccounts) &&
!view.rules().enabled(featureXahauGenesis)
view.rules().enabled(featureDeletableAccounts)
? view.seq()
: 1};