Jan 1, 2022
Thanks for reading
You can check in single line below:
require(user[_address].addr != msg.sender);
In register function it is already fixed.
Already register user cannot register again, the transaction failed in that case.
Thanks for reading
You can check in single line below:
require(user[_address].addr != msg.sender);
In register function it is already fixed.
Already register user cannot register again, the transaction failed in that case.
Distraction-free reading. No ads.
Organize your knowledge with lists and highlights.
Tell your story. Find your audience.
Read member-only stories
Support writers you read most
Earn money for your writing
Listen to audio narrations
Read offline with the Medium app
Blockchain, Rust, Go lang, Web 3.0, Ethereum, Solana, Substrate, Cosmos