Addressed final review comments

This commit is contained in:
Alex Towle 2019-08-04 23:20:41 -07:00
parent 5ba0e0dc54
commit 3915c7e8f2
2 changed files with 3 additions and 7 deletions

View File

@ -8,7 +8,7 @@ library LibOwnableRichErrors {
0x1de45ad1;
// bytes4(keccak256("TransferOwnerToZeroError()"))
bytes internal constant TRANSFER_OWNER_TO_ZERO_ERROR_SELECTOR =
bytes internal constant TRANSFER_OWNER_TO_ZERO_ERROR_BYTES =
hex"e69edc3e";
// solhint-disable func-name-mixedcase
@ -32,6 +32,6 @@ library LibOwnableRichErrors {
pure
returns (bytes memory)
{
return TRANSFER_OWNER_TO_ZERO_ERROR_SELECTOR;
return TRANSFER_OWNER_TO_ZERO_ERROR_BYTES;
}
}

View File

@ -50,11 +50,7 @@ describe('Authorizable', () => {
});
it('should allow owner to add an authorized address', async () => {
await authorizable.addAuthorizedAddress.awaitTransactionSuccessAsync(
address,
{ from: owner },
constants.AWAIT_TRANSACTION_MINED_MS,
);
await authorizable.addAuthorizedAddress.awaitTransactionSuccessAsync(address, { from: owner });
const isAuthorized = await authorizable.authorized.callAsync(address);
expect(isAuthorized).to.be.true();
});