The send function can be used by anyone (who already has some of these coins) to send coins to anyone else. If the sender does not have enough coins to send, the if condition evaluates to true. As a result, the revert will cause the operation to fail while providing the sender with error details using the InsufficientBalance error.
Aug 29, 2021, 7:26 PM
wouldn't it be false to revert the operation
the if condition
used to verify if true or false
this says if the sender doesnt have enough of _____ the if comparison will revert as true and the transaction will cancel and send a error to sender
shouldnt the if comparison revert true for good operations and false for bad operations
ok i havent got to else yet it just sound funny
thnx
Aug 29, 2021, 7:38 PM
Yw
Aug 29, 2021, 7:56 PM