diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-17 22:35:14 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-17 22:35:14 +0800 |
commit | 59a39ac57dc66f16835788c7a9ab60e0db568c61 (patch) | |
tree | b2a7ea7f85c5162396708db86dff381b7af5d67d /packages | |
parent | df9c2b193e6c31d531be735d40561d86c40660cd (diff) | |
download | dexon-sol-tools-59a39ac57dc66f16835788c7a9ab60e0db568c61.tar.gz 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')
-rw-r--r-- | packages/dev-utils/src/rpc.ts | 2 |
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> { |