Skip to content

Add check for positive amount in dapp example #3794

@natanasow

Description

@natanasow

Description

Added a check to ensure the amount is greater than zero, preventing transfers with invalid or zero amounts.

It's a community bug already fixed, but has been hanging out for a while. The user's PR #3588.

Steps to reproduce

Enter a negative amount and observe the behaviour.

Additional context

No response

Hedera network

No response

Version

latest

Operating system

None

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions