envoylabs / whoami

An NFT-based user and smart contract nameservice
Apache License 2.0
16 stars 8 forks source link

Contract addressing, pt ii #58

Closed the-frey closed 2 years ago

the-frey commented 2 years ago

If is_contract is true, then there should also be a contract address

the-frey commented 2 years ago

Wait - this is even simpler. is_contract is redundant, 'cos it's an Option so it should just be Option<Addr> where Addr is a contract address