fix: Update PermissionedDEX invariant domain tracking for valid offer replacement (#7387)

Co-authored-by: Bart <bthomee@users.noreply.github.com>
This commit is contained in:
Kassaking7
2026-07-23 17:40:21 -04:00
committed by GitHub
parent 7908aec2ec
commit 9afa1cf4d1
3 changed files with 70 additions and 4 deletions

View File

@@ -17,7 +17,8 @@ class ValidPermissionedDEX
bool regularOffers_ = false; // post-fixCleanup3_2_0: excludes deleted offers
bool badHybridsOld_ = false; // pre-fixCleanup3_1_3: missing field/domain or size > 1
bool badHybrids_ = false; // post-fixCleanup3_1_3: also catches size == 0 (size != 1)
hash_set<uint256> domains_;
hash_set<uint256> domainsOld_; // pre-fixCleanup3_4_0: also flags deleted domains
hash_set<uint256> domains_; // post-fixCleanup3_4_0: excludes deleted domains
public:
void