Skip to content
RED SAGSkills
hard20 pts · first answer countsblockchain-fundamentalsdapp-frontend

Admin check fails for the real admin

A dashboard hides admin buttons unless `account === ADMIN`, where `ADMIN` is pasted from Etherscan. The real admin connects and sees no buttons. What is the likely bug?

const ADMIN = '0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed'
if (account === ADMIN) showAdmin()
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions