File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -672,20 +672,13 @@ export class SpokePoolClient extends BaseAbstractClient {
672
672
}
673
673
} ) ;
674
674
this . earlyDeposits = earlyDeposits ;
675
-
676
- const dataForQuoteTime = await this . batchComputeRealizedLpFeePct ( depositEvents ) ;
677
- this . logger . debug ( {
678
- at : "SpokePoolClient" ,
679
- message : `Computed ${ dataForQuoteTime . length } realizedLpFees on ${ this . chainId } !` ,
680
- } ) ;
681
-
682
- // Now add any newly fetched events from RPC.
683
675
if ( depositEvents . length > 0 ) {
684
676
this . log ( "debug" , `Using ${ depositEvents . length } newly queried deposit events for chain ${ this . chainId } ` , {
685
677
earliestEvent : depositEvents [ 0 ] . blockNumber ,
686
678
} ) ;
687
679
}
688
680
681
+ const dataForQuoteTime = await this . batchComputeRealizedLpFeePct ( depositEvents ) ;
689
682
for ( const [ index , event ] of Array . from ( depositEvents . entries ( ) ) ) {
690
683
const rawDeposit = spreadEventWithBlockNumber ( event ) as DepositWithBlock ;
691
684
You can’t perform that action at this time.
0 commit comments