File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ export class PriceFeedRegister
6060 // this.zeroPriceFeed = new ZeroPriceFeedContract({});
6161 }
6262
63- public addHook = this . #hooks. addHook . bind ( this ) ;
64- public removeHook = this . #hooks. removeHook . bind ( this ) ;
63+ public addHook = this . #hooks. addHook . bind ( this . #hooks ) ;
64+ public removeHook = this . #hooks. removeHook . bind ( this . #hooks ) ;
6565
6666 /**
6767 * Returns RawTxs to update price feeds
Original file line number Diff line number Diff line change @@ -87,8 +87,8 @@ export class RouterV3Contract
8787 this . #connectors = getConnectors ( sdk . provider . networkType ) ;
8888 }
8989
90- public addHook = this . #hooks. addHook . bind ( this ) ;
91- public removeHook = this . #hooks. removeHook . bind ( this ) ;
90+ public addHook = this . #hooks. addHook . bind ( this . #hooks ) ;
91+ public removeHook = this . #hooks. removeHook . bind ( this . #hooks ) ;
9292
9393 /**
9494 * Finds all available swaps for NORMAL tokens
You can’t perform that action at this time.
0 commit comments