mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-09 18:45:38 +00:00
b94bede473
Add "No Unused Params and Locals" Linting Rule
9 lines
212 B
TypeScript
9 lines
212 B
TypeScript
import { randomBytes } from 'crypto';
|
|
import RPCClient from '../rpc/client';
|
|
|
|
export default class InfuraClient extends RPCClient {
|
|
public id(): string {
|
|
return `0x${randomBytes(5).toString('hex')}`;
|
|
}
|
|
}
|