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:
@@ -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
|
||||
|
Reference in New Issue
Block a user