aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-11-10 06:39:03 +0800
committerFabio Berger <me@fabioberger.com>2017-11-10 06:39:03 +0800
commit50d3a1482567d0e4f572877b50547ae4fbad9942 (patch)
treeb31a2b185c63973466eed68bd5e0bcfba82c244e
parent0ff3ba5250972754c919308b73c29dd7124daf95 (diff)
downloaddexon-sol-tools-50d3a1482567d0e4f572877b50547ae4fbad9942.tar
dexon-sol-tools-50d3a1482567d0e4f572877b50547ae4fbad9942.tar.gz
dexon-sol-tools-50d3a1482567d0e4f572877b50547ae4fbad9942.tar.bz2
dexon-sol-tools-50d3a1482567d0e4f572877b50547ae4fbad9942.tar.lz
dexon-sol-tools-50d3a1482567d0e4f572877b50547ae4fbad9942.tar.xz
dexon-sol-tools-50d3a1482567d0e4f572877b50547ae4fbad9942.tar.zst
dexon-sol-tools-50d3a1482567d0e4f572877b50547ae4fbad9942.zip
Remove finished TODOs
-rw-r--r--src/order_watcher/event_watcher.ts1
-rw-r--r--src/order_watcher/order_state_watcher.ts1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/order_watcher/event_watcher.ts b/src/order_watcher/event_watcher.ts
index 9ace32b29..471dcd21a 100644
--- a/src/order_watcher/event_watcher.ts
+++ b/src/order_watcher/event_watcher.ts
@@ -63,7 +63,6 @@ export class EventWatcher {
const events = await this._web3Wrapper.getLogsAsync(eventFilter);
return events;
}
- // TODO: Let's emit out own LogEntry type that has property isRemoved rather then removed
private async _emitDifferencesAsync(logs: Web3.LogEntry[], isRemoved: boolean): Promise<void> {
for (const log of logs) {
const logEvent = {
diff --git a/src/order_watcher/order_state_watcher.ts b/src/order_watcher/order_state_watcher.ts
index 6d56293ef..9f0773ffb 100644
--- a/src/order_watcher/order_state_watcher.ts
+++ b/src/order_watcher/order_state_watcher.ts
@@ -151,7 +151,6 @@ export class OrderStateWatcher {
}
}
private async _emitRevalidateOrdersAsync(orderHashes: string[]): Promise<void> {
- // TODO: Make defaultBlock a passed in option
const methodOpts = {
defaultBlock: BlockParamLiteral.Pending,
};