diff options
author | Fabio Berger <me@fabioberger.com> | 2018-09-21 21:53:25 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-09-21 21:53:25 +0800 |
commit | 45dc2be0832eefbf6f009b07abb7b7a435b19279 (patch) | |
tree | 7e9fb6da28affabc01011c38eaa5d0987cded3cb /packages/web3-wrapper/src/web3_wrapper.ts | |
parent | 31f6fc065f743efd0c6961ed2d71ae1ad04e3289 (diff) | |
download | dexon-0x-contracts-45dc2be0832eefbf6f009b07abb7b7a435b19279.tar dexon-0x-contracts-45dc2be0832eefbf6f009b07abb7b7a435b19279.tar.gz dexon-0x-contracts-45dc2be0832eefbf6f009b07abb7b7a435b19279.tar.bz2 dexon-0x-contracts-45dc2be0832eefbf6f009b07abb7b7a435b19279.tar.lz dexon-0x-contracts-45dc2be0832eefbf6f009b07abb7b7a435b19279.tar.xz dexon-0x-contracts-45dc2be0832eefbf6f009b07abb7b7a435b19279.tar.zst dexon-0x-contracts-45dc2be0832eefbf6f009b07abb7b7a435b19279.zip |
Fix prettier
Diffstat (limited to 'packages/web3-wrapper/src/web3_wrapper.ts')
-rw-r--r-- | packages/web3-wrapper/src/web3_wrapper.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/web3-wrapper/src/web3_wrapper.ts b/packages/web3-wrapper/src/web3_wrapper.ts index e6944d4bb..3764b4593 100644 --- a/packages/web3-wrapper/src/web3_wrapper.ts +++ b/packages/web3-wrapper/src/web3_wrapper.ts @@ -439,7 +439,9 @@ export class Web3Wrapper { */ public async getLogsAsync(filter: FilterObject): Promise<LogEntry[]> { if (!_.isUndefined(filter.blockHash) && (!_.isUndefined(filter.fromBlock) || !_.isUndefined(filter.toBlock))) { - throw new Error(`Cannot specify 'blockHash' as well as 'fromBlock'/'toBlock' in the filter supplied to 'getLogsAsync'`); + throw new Error( + `Cannot specify 'blockHash' as well as 'fromBlock'/'toBlock' in the filter supplied to 'getLogsAsync'`, + ); } let fromBlock = filter.fromBlock; |