aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/test/subscription_test.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-09-24 22:49:58 +0800
committerGitHub <noreply@github.com>2018-09-24 22:49:58 +0800
commitfc33eacd2cbcc088d238f5e1f34b50b06ea8d58f (patch)
tree9a3e827452b8c980148fac7f53eb9fd84d282e33 /packages/contract-wrappers/test/subscription_test.ts
parent8bce407aec414fbaf80a7132bdf43c5b9f66247b (diff)
parent7516959c9f733c0ee73c2551db185a7751d9f94c (diff)
downloaddexon-sol-tools-fc33eacd2cbcc088d238f5e1f34b50b06ea8d58f.tar
dexon-sol-tools-fc33eacd2cbcc088d238f5e1f34b50b06ea8d58f.tar.gz
dexon-sol-tools-fc33eacd2cbcc088d238f5e1f34b50b06ea8d58f.tar.bz2
dexon-sol-tools-fc33eacd2cbcc088d238f5e1f34b50b06ea8d58f.tar.lz
dexon-sol-tools-fc33eacd2cbcc088d238f5e1f34b50b06ea8d58f.tar.xz
dexon-sol-tools-fc33eacd2cbcc088d238f5e1f34b50b06ea8d58f.tar.zst
dexon-sol-tools-fc33eacd2cbcc088d238f5e1f34b50b06ea8d58f.zip
Merge pull request #1082 from 0xProject/fixGetBlocks
Fix block fetch error if block not found
Diffstat (limited to 'packages/contract-wrappers/test/subscription_test.ts')
-rw-r--r--packages/contract-wrappers/test/subscription_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contract-wrappers/test/subscription_test.ts b/packages/contract-wrappers/test/subscription_test.ts
index 81b9012bd..68ef7225e 100644
--- a/packages/contract-wrappers/test/subscription_test.ts
+++ b/packages/contract-wrappers/test/subscription_test.ts
@@ -61,7 +61,7 @@ describe('SubscriptionTest', () => {
callback,
);
stubs = [
- Sinon.stub((contractWrappers as any)._web3Wrapper, 'getBlockAsync').throws(
+ Sinon.stub((contractWrappers as any)._web3Wrapper, 'getBlockIfExistsAsync').throws(
new Error('JSON RPC error'),
),
];