Skip to content

Commit 666ca27

Browse files
committed
Remove blockWatching from TaskState
This is unused code.
1 parent b8b8b56 commit 666ca27

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/common/utxobased/engine/taskState.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { makeTaskCache, TaskCache } from './taskCache'
66

77
export interface TaskState {
88
addressWatching: boolean
9-
blockWatching: boolean
109
addressSubscribeTasks: TaskCache<AddressSubscribeTask>
1110
utxoTasks: TaskCache<UtxosTask>
1211
rawUtxoTasks: TaskCache<RawUtxoTask>
@@ -76,7 +75,6 @@ export const makeTaskState = ({
7675
}: TaskStateConfig): TaskState => {
7776
return {
7877
addressWatching: false,
79-
blockWatching: false,
8078
addressSubscribeTasks: makeTaskCache(),
8179
transactionTasks: makeTaskCache(),
8280
utxoTasks: makeTaskCache(),
@@ -85,7 +83,6 @@ export const makeTaskState = ({
8583
updateTransactionTasks: makeTaskCache(),
8684
clearTaskState: function () {
8785
this.addressWatching = false
88-
this.blockWatching = false
8986
this.addressSubscribeTasks.clear()
9087
this.transactionTasks.clear()
9188
this.utxoTasks.clear()

0 commit comments

Comments
 (0)