diff options
author | Fabio Berger <me@fabioberger.com> | 2017-12-08 05:32:01 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-12-08 05:32:01 +0800 |
commit | 5301086c68e9a102efa91efe14c1226df58669a1 (patch) | |
tree | d049508e3c52cd3bed0a58fdb818f7bcc24f8e61 /packages/subproviders/src | |
parent | 5687279c8d87c675fd2afbca08f0fc259b06dd21 (diff) | |
download | dexon-sol-tools-5301086c68e9a102efa91efe14c1226df58669a1.tar.gz dexon-sol-tools-5301086c68e9a102efa91efe14c1226df58669a1.tar.zst dexon-sol-tools-5301086c68e9a102efa91efe14c1226df58669a1.zip |
Add link to random id generator
Diffstat (limited to 'packages/subproviders/src')
-rw-r--r-- | packages/subproviders/src/subproviders/subprovider.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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 |