Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sendTransaction method is incorrectly verifying transaction amount if sending to the same address #2016

Closed
CedrikNikita opened this issue Sep 10, 2024 · 0 comments · Fixed by #2019
Assignees
Labels
bug Something isn't working

Comments

@CedrikNikita
Copy link
Collaborator

CedrikNikita commented Sep 10, 2024

Describe the bug
In case user will build spend transaction where the recipient is the sender, that would have amount larger than sender's balance. sendTransaction method would allow to send it, since getExecutionCost method will return only fee as required amount to execute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants