Skip to content

block null address for new beneficial owner#16

Merged
jake-nyquist merged 2 commits intomainfrom
nyquist/hook-822-ensure-that-beneficial-owner-on-the
May 11, 2022
Merged

block null address for new beneficial owner#16
jake-nyquist merged 2 commits intomainfrom
nyquist/hook-822-ensure-that-beneficial-owner-on-the

Conversation

@jake-nyquist
Copy link
Contributor

Sanity check: the new beneficial owner should never be the burn address, because then no one will be able to claim

@linear
Copy link

linear bot commented May 10, 2022

HOOK-822 ensure that beneficial owner on the vault cannot be set to the burn address

require(newOwner != address(0), "BNFT: new owner is the zero address");

This is just an extra safety guard on the vault

Copy link
Contributor Author

jake-nyquist commented May 10, 2022

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@jake-nyquist jake-nyquist merged commit 93c9f61 into main May 11, 2022
@regynald regynald deleted the nyquist/hook-822-ensure-that-beneficial-owner-on-the branch May 31, 2022 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants