From 5301086c68e9a102efa91efe14c1226df58669a1 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Thu, 7 Dec 2017 15:32:01 -0600 Subject: Add link to random id generator --- packages/subproviders/src/subproviders/subprovider.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/subproviders/src') diff --git a/packages/subproviders/src/subproviders/subprovider.ts b/packages/subproviders/src/subproviders/subprovider.ts index 07f4d6353..64d97b958 100644 --- a/packages/subproviders/src/subproviders/subprovider.ts +++ b/packages/subproviders/src/subproviders/subprovider.ts @@ -12,6 +12,7 @@ import { export class Subprovider { private engine: any; private currentBlock: any; + // Ported from: https://github.com/MetaMask/provider-engine/blob/master/util/random-id.js private static getRandomId() { const extraDigits = 3; // 13 time digits -- cgit v1.2.3