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
This commit is contained in:
Bryan Stitt
2018-11-07 16:06:20 -08:00
parent 95b2898b9c
commit 801004be66

View File

@@ -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