@0x/utils: Fix StakingErrors.ExchangeManagerError incorrect param name

This commit is contained in:
Lawrence Forman 2020-09-01 16:55:04 -04:00
parent 78dfb6d525
commit 36ad373f03

View File

@ -40,9 +40,9 @@ export class OnlyCallableByExchangeError extends RevertError {
}
export class ExchangeManagerError extends RevertError {
constructor(error?: ExchangeManagerErrorCodes, senderAddress?: string) {
constructor(errorCode?: ExchangeManagerErrorCodes, senderAddress?: string) {
super('ExchangeManagerError', 'ExchangeManagerError(uint8 errorCode, address senderAddress)', {
error,
errorCode,
senderAddress,
});
}