@0x/utils
: Fix StakingErrors.ExchangeManagerError
incorrect param name
This commit is contained in:
@@ -40,9 +40,9 @@ export class OnlyCallableByExchangeError extends RevertError {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export class ExchangeManagerError extends RevertError {
|
export class ExchangeManagerError extends RevertError {
|
||||||
constructor(error?: ExchangeManagerErrorCodes, senderAddress?: string) {
|
constructor(errorCode?: ExchangeManagerErrorCodes, senderAddress?: string) {
|
||||||
super('ExchangeManagerError', 'ExchangeManagerError(uint8 errorCode, address senderAddress)', {
|
super('ExchangeManagerError', 'ExchangeManagerError(uint8 errorCode, address senderAddress)', {
|
||||||
error,
|
errorCode,
|
||||||
senderAddress,
|
senderAddress,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user