Skip to content

Commit b8a99eb

Browse files
committed
fix: remove redundant check for existing RTT updates in setRTTUpdates method
1 parent b5bbd43 commit b8a99eb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/core/CoreNode.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2159,10 +2159,6 @@ export class CoreNode extends EventEmitter {
21592159
}
21602160

21612161
setRTTUpdates(type: number) {
2162-
if (this.hasRTTupdates === true) {
2163-
return;
2164-
}
2165-
21662162
this.hasRTTupdates = true;
21672163
this.parent?.setRTTUpdates(type);
21682164
}

0 commit comments

Comments
 (0)