@0x/utils
: Fix StakingErrors.ExchangeManagerError
incorrect param name
This commit is contained in:
parent
78dfb6d525
commit
36ad373f03
@ -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,
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user