Merge pull request #1227 from WyseNynja/patch-1
[web3-wrapper] start jsonRpcRequestId at 1, not 0
This commit is contained in:
commit
add1cfd261
@ -1,4 +1,13 @@
|
||||
[
|
||||
{
|
||||
"version": "2.2.3",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Start jsonRpcRequestId at 1, not 0 as 0 breaks the web3.js websocket RPC provider",
|
||||
"pr": 1227
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"timestamp": 1542028948,
|
||||
"version": "2.2.2",
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user