Skip to content
Discussion options

You must be logged in to vote

@SquilliamX It is just a validation check to make sure the input address parameter is initialized and is not a zero address which is the default value for address type.

You can add the require and assert statements in the solidity code to make sure the variables of address types are not empty.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SquilliamX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants