Skip to content

Fix three code bugs#1

Draft
psyk0cyber wants to merge 1 commit intodevfrom
cursor/fix-three-code-bugs-446d
Draft

Fix three code bugs#1
psyk0cyber wants to merge 1 commit intodevfrom
cursor/fix-three-code-bugs-446d

Conversation

@psyk0cyber
Copy link
Owner

Fixes three bugs: replaces transfer with sendValue for native ETH, hardens isFraction against null/primitives, and switches assert to require in TestBNT.sol.

The changes improve robustness by preventing gas stipend issues in native token transfers, avoiding runtime crashes in a type guard, and providing clearer error handling for external call failures in a test contract.


Open in Cursor Open in Web

…tions

Co-authored-by: kitcurran1 <kitcurran1@gmail.com>
@cursor
Copy link

cursor bot commented Aug 9, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

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.

2 participants