mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-10 19:16:10 +00:00
Unnecessary assertion
This commit is contained in:
parent
c89a6ba50d
commit
3436a9258d
@ -45,7 +45,7 @@ function getMethod(req: Electron.RegisterStringProtocolRequest): EnclaveMethods
|
||||
throw new Error(`Invalid or unknown method '${method}'`);
|
||||
}
|
||||
|
||||
return method as EnclaveMethods;
|
||||
return method;
|
||||
}
|
||||
|
||||
function getParams(
|
||||
|
Loading…
x
Reference in New Issue
Block a user