diff options
author | Fabio B <kandinsky454@protonmail.ch> | 2018-11-13 03:43:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-13 03:43:00 +0800 |
commit | add1cfd26132465ad51a3f9cf2ae8362fc301fcf (patch) | |
tree | 21ac4408af9b68c4ce4b195c120b8d62632c5aa7 /packages/web3-wrapper | |
parent | 0ebbbdfca49028f196853bbfb082a1378c09f441 (diff) | |
parent | cdf78494d5884f44b7459e350e41109beea20d43 (diff) | |
download | dexon-sol-tools-add1cfd26132465ad51a3f9cf2ae8362fc301fcf.tar dexon-sol-tools-add1cfd26132465ad51a3f9cf2ae8362fc301fcf.tar.gz dexon-sol-tools-add1cfd26132465ad51a3f9cf2ae8362fc301fcf.tar.bz2 dexon-sol-tools-add1cfd26132465ad51a3f9cf2ae8362fc301fcf.tar.lz dexon-sol-tools-add1cfd26132465ad51a3f9cf2ae8362fc301fcf.tar.xz dexon-sol-tools-add1cfd26132465ad51a3f9cf2ae8362fc301fcf.tar.zst dexon-sol-tools-add1cfd26132465ad51a3f9cf2ae8362fc301fcf.zip |
Merge pull request #1227 from WyseNynja/patch-1
[web3-wrapper] start jsonRpcRequestId at 1, not 0
Diffstat (limited to 'packages/web3-wrapper')
-rw-r--r-- | packages/web3-wrapper/src/web3_wrapper.ts | 2 |
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 23204e616..be1713f20 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 |