aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web3-wrapper
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-09-21 21:53:25 +0800
committerFabio Berger <me@fabioberger.com>2018-09-21 21:53:25 +0800
commit45dc2be0832eefbf6f009b07abb7b7a435b19279 (patch)
tree7e9fb6da28affabc01011c38eaa5d0987cded3cb /packages/web3-wrapper
parent31f6fc065f743efd0c6961ed2d71ae1ad04e3289 (diff)
downloaddexon-sol-tools-45dc2be0832eefbf6f009b07abb7b7a435b19279.tar
dexon-sol-tools-45dc2be0832eefbf6f009b07abb7b7a435b19279.tar.gz
dexon-sol-tools-45dc2be0832eefbf6f009b07abb7b7a435b19279.tar.bz2
dexon-sol-tools-45dc2be0832eefbf6f009b07abb7b7a435b19279.tar.lz
dexon-sol-tools-45dc2be0832eefbf6f009b07abb7b7a435b19279.tar.xz
dexon-sol-tools-45dc2be0832eefbf6f009b07abb7b7a435b19279.tar.zst
dexon-sol-tools-45dc2be0832eefbf6f009b07abb7b7a435b19279.zip
Fix prettier
Diffstat (limited to 'packages/web3-wrapper')
-rw-r--r--packages/web3-wrapper/src/web3_wrapper.ts4
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;