Skip to content

Conversation

coolaj86
Copy link
Member

If the version is set to 0, it will be overwritten with the default (3). That turns out to not be right.

version = txInfo.version ?? CURRENT_VERSION.

I also updated other semantically incorrect uses of || - even when the result doesn't change - to distinguish between boolean logical operations and default assignment.

@coolaj86 coolaj86 merged commit cdb5550 into main Feb 15, 2025
5 checks passed
@coolaj86 coolaj86 deleted the fix-allow-version-0 branch February 15, 2025 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant