aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-utils/src/rpc.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-01-17 22:35:14 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-17 22:35:14 +0800
commit59a39ac57dc66f16835788c7a9ab60e0db568c61 (patch)
treeb2a7ea7f85c5162396708db86dff381b7af5d67d /packages/dev-utils/src/rpc.ts
parentdf9c2b193e6c31d531be735d40561d86c40660cd (diff)
downloaddexon-sol-tools-59a39ac57dc66f16835788c7a9ab60e0db568c61.tar
dexon-sol-tools-59a39ac57dc66f16835788c7a9ab60e0db568c61.tar.gz
dexon-sol-tools-59a39ac57dc66f16835788c7a9ab60e0db568c61.tar.bz2
dexon-sol-tools-59a39ac57dc66f16835788c7a9ab60e0db568c61.tar.lz
dexon-sol-tools-59a39ac57dc66f16835788c7a9ab60e0db568c61.tar.xz
dexon-sol-tools-59a39ac57dc66f16835788c7a9ab60e0db568c61.tar.zst
dexon-sol-tools-59a39ac57dc66f16835788c7a9ab60e0db568c61.zip
Fix a stupid RPC bug which caused the port togo over 65535
Diffstat (limited to 'packages/dev-utils/src/rpc.ts')
-rw-r--r--packages/dev-utils/src/rpc.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/dev-utils/src/rpc.ts b/packages/dev-utils/src/rpc.ts
index cf6678f81..36f8b1ef9 100644
--- a/packages/dev-utils/src/rpc.ts
+++ b/packages/dev-utils/src/rpc.ts
@@ -41,7 +41,7 @@ export class RPC {
method,
params,
});
- this._url += 1;
+ this._id += 1;
return payload;
}
private async _sendAsync(payload: string): Promise<any> {