Commit 701b6bf
committed
fix: zero out fund size/value for closed derivatives funds
The derivatives early-return path in computeFundFinalMetrics bypassed the
closed status check, causing closed derivatives funds like BIP to show
their last margin balance instead of $0.1 parent 322f278 commit 701b6bf
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
121 | 122 | | |
122 | | - | |
123 | | - | |
124 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
| |||
0 commit comments