Skip to content

fix(bath): guard nil STONfiPool in swap builder to avoid panic - #960

Merged
alpinskiy-top merged 1 commit into
masterfrom
fix
Aug 26, 2026
Merged

fix(bath): guard nil STONfiPool in swap builder to avoid panic#960
alpinskiy-top merged 1 commit into
masterfrom
fix

Conversation

@alpinskiy-top

Copy link
Copy Markdown
Collaborator

GetEvent crashed with a nil pointer dereference when additionalInfo's STONfiPool wasn't populated for a Stonfi swap transaction. Return an error instead so the Straw match is skipped gracefully.

GetEvent crashed with a nil pointer dereference when additionalInfo's
STONfiPool wasn't populated for a Stonfi swap transaction. Return an
error instead so the Straw match is skipped gracefully.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@alpinskiy-top
alpinskiy-top merged commit 443d5fa into master Aug 26, 2026
@alpinskiy-top
alpinskiy-top deleted the fix branch August 26, 2026 15:16
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