diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-15 23:05:03 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-15 23:05:03 +0800 |
commit | d789aa24aa2c9f4e0d17a382fe9cb8d56ab27957 (patch) | |
tree | d93f79ec7909c1808ddfe7a145df41d2c104a553 /test/assert_test.ts | |
parent | 424912040a7e68b6d07cd4ae40763d9bcd98de28 (diff) | |
download | dexon-sol-tools-d789aa24aa2c9f4e0d17a382fe9cb8d56ab27957.tar dexon-sol-tools-d789aa24aa2c9f4e0d17a382fe9cb8d56ab27957.tar.gz dexon-sol-tools-d789aa24aa2c9f4e0d17a382fe9cb8d56ab27957.tar.bz2 dexon-sol-tools-d789aa24aa2c9f4e0d17a382fe9cb8d56ab27957.tar.lz dexon-sol-tools-d789aa24aa2c9f4e0d17a382fe9cb8d56ab27957.tar.xz dexon-sol-tools-d789aa24aa2c9f4e0d17a382fe9cb8d56ab27957.tar.zst dexon-sol-tools-d789aa24aa2c9f4e0d17a382fe9cb8d56ab27957.zip |
Make ZeroEx constructor accept Web3Provider instead of Web3 instance
Diffstat (limited to 'test/assert_test.ts')
-rw-r--r-- | test/assert_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/assert_test.ts b/test/assert_test.ts index 25d9a8d16..6a8d30716 100644 --- a/test/assert_test.ts +++ b/test/assert_test.ts @@ -8,7 +8,7 @@ const expect = chai.expect; describe('Assertion library', () => { const web3 = web3Factory.create(); - const zeroEx = new ZeroEx(web3); + const zeroEx = new ZeroEx(web3.currentProvider); describe('#isSenderAddressHexAsync', () => { it('throws when address is invalid', async () => { const address = '0xdeadbeef'; |