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 | |
parent | 31f6fc065f743efd0c6961ed2d71ae1ad04e3289 (diff) | |
download | dexon-sol-tools-45dc2be0832eefbf6f009b07abb7b7a435b19279.tar.gz dexon-sol-tools-45dc2be0832eefbf6f009b07abb7b7a435b19279.tar.zst dexon-sol-tools-45dc2be0832eefbf6f009b07abb7b7a435b19279.zip |
Fix prettier
-rw-r--r-- | packages/contract-wrappers/CHANGELOG.json | 3 | ||||
-rw-r--r-- | packages/order-watcher/CHANGELOG.json | 3 | ||||
-rw-r--r-- | packages/web3-wrapper/src/web3_wrapper.ts | 4 |
3 files changed, 7 insertions, 3 deletions
diff --git a/packages/contract-wrappers/CHANGELOG.json b/packages/contract-wrappers/CHANGELOG.json index 0d941d756..a8572e968 100644 --- a/packages/contract-wrappers/CHANGELOG.json +++ b/packages/contract-wrappers/CHANGELOG.json @@ -3,7 +3,8 @@ "version": "2.0.0", "changes": [ { - "note": "Fixes dropped events in subscriptions by fetching logs by blockHash instead of blockNumber. Support for fetching by blockHash was added in Geth > v1.8.13 and Parity > v2.1.0. Infura works too." + "note": + "Fixes dropped events in subscriptions by fetching logs by blockHash instead of blockNumber. Support for fetching by blockHash was added in Geth > v1.8.13 and Parity > v2.1.0. Infura works too." } ] }, diff --git a/packages/order-watcher/CHANGELOG.json b/packages/order-watcher/CHANGELOG.json index a85fddf7d..d6be772e2 100644 --- a/packages/order-watcher/CHANGELOG.json +++ b/packages/order-watcher/CHANGELOG.json @@ -3,7 +3,8 @@ "version": "2.0.0", "changes": [ { - "note": "Fixes dropped events issue by fetching logs by blockHash instead of blockNumber. Support for fetching by blockHash was added in Geth > v1.8.13 and Parity > v2.1.0. Infura works too." + "note": + "Fixes dropped events issue by fetching logs by blockHash instead of blockNumber. Support for fetching by blockHash was added in Geth > v1.8.13 and Parity > v2.1.0. Infura works too." } ] }, 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; |