File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -272,11 +272,7 @@ export const getOpenAuction = (
272272 // {1} = {USD/wholeShare} / {USD/wholeShare}
273273 let progression = folio
274274 . map ( ( actualBalance , i ) => {
275- if ( ! rebalance . inRebalance [ i ] ) {
276- return ZERO ;
277- }
278-
279- if ( expectedBalances [ i ] . eq ( ZERO ) ) {
275+ if ( ! rebalance . inRebalance [ i ] || expectedBalances [ i ] . eq ( ZERO ) ) {
280276 return ONE ;
281277 }
282278
@@ -292,11 +288,7 @@ export const getOpenAuction = (
292288 // {1} = {USD/wholeShare} / {USD/wholeShare}
293289 const initialProgression = initialFolio
294290 . map ( ( initialBalance , i ) => {
295- if ( ! rebalance . inRebalance [ i ] ) {
296- return ZERO ;
297- }
298-
299- if ( expectedBalances [ i ] . eq ( ZERO ) ) {
291+ if ( ! rebalance . inRebalance [ i ] || expectedBalances [ i ] . eq ( ZERO ) ) {
300292 return ONE ;
301293 }
302294
You can’t perform that action at this time.
0 commit comments