fix: remove requirement of default case in all switch statements
This commit is contained in:
@@ -8,9 +8,8 @@ const etherscanPrefix = (networkId: number): string | undefined => {
|
||||
return 'kovan.';
|
||||
case Network.Mainnet:
|
||||
return '';
|
||||
default:
|
||||
return undefined;
|
||||
}
|
||||
return '';
|
||||
};
|
||||
|
||||
export const etherscanUtil = {
|
||||
|
Reference in New Issue
Block a user