aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web3-wrapper/src/web3_wrapper.ts
diff options
context:
space:
mode:
authorBryan Stitt <bryan@stitthappens.com>2018-11-08 08:06:20 +0800
committerBryan Stitt <bryan@stitthappens.com>2018-11-08 08:39:07 +0800
commit801004be6635b2ffc04601181db850499e5ee18e (patch)
tree7b69c1a68ca134b1216cc83f8024120220d5bd7d /packages/web3-wrapper/src/web3_wrapper.ts
parent95b2898b9c0898c7e2d98ee603bff0604bf2a829 (diff)
downloaddexon-sol-tools-801004be6635b2ffc04601181db850499e5ee18e.tar
dexon-sol-tools-801004be6635b2ffc04601181db850499e5ee18e.tar.gz
dexon-sol-tools-801004be6635b2ffc04601181db850499e5ee18e.tar.bz2
dexon-sol-tools-801004be6635b2ffc04601181db850499e5ee18e.tar.lz
dexon-sol-tools-801004be6635b2ffc04601181db850499e5ee18e.tar.xz
dexon-sol-tools-801004be6635b2ffc04601181db850499e5ee18e.tar.zst
dexon-sol-tools-801004be6635b2ffc04601181db850499e5ee18e.zip
start jsonRpcRequestId at 1, not 0
I'm trying to use the 0x-watcher against a parity websocket rpc and getting an error that I think is the same as https://github.com/ethereum/web3.js/issues/1967
Diffstat (limited to 'packages/web3-wrapper/src/web3_wrapper.ts')
-rw-r--r--packages/web3-wrapper/src/web3_wrapper.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/web3-wrapper/src/web3_wrapper.ts b/packages/web3-wrapper/src/web3_wrapper.ts
index 56877fef3..effcd78ab 100644
--- a/packages/web3-wrapper/src/web3_wrapper.ts
+++ b/packages/web3-wrapper/src/web3_wrapper.ts
@@ -157,7 +157,7 @@ export class Web3Wrapper {
this.abiDecoder = new AbiDecoder([]);
this._provider = provider;
this._txDefaults = txDefaults || {};
- this._jsonRpcRequestId = 0;
+ this._jsonRpcRequestId = 1;
}
/**
* Get the contract defaults set to the Web3Wrapper instance