Move beneficiary zero address check to Ownable (#4531)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com> Co-authored-by: Francisco <fg@frang.io>
This commit is contained in:
@ -23,7 +23,7 @@ contract('VestingWallet', function (accounts) {
|
||||
it('rejects zero address for beneficiary', async function () {
|
||||
await expectRevertCustomError(
|
||||
VestingWallet.new(constants.ZERO_ADDRESS, this.start, duration),
|
||||
'VestingWalletInvalidBeneficiary',
|
||||
'OwnableInvalidOwner',
|
||||
[constants.ZERO_ADDRESS],
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user