line build fixes; symbol name update

This commit is contained in:
tim
2024-10-29 00:33:24 -04:00
parent 5e91b0ff43
commit b9ca6ab2cc
5 changed files with 34 additions and 15 deletions

View File

@@ -81,7 +81,7 @@ function buildTranches() {
console.log('buildTranches', builder, order, tranches)
const ps = prices.value
const ws = weights.value
for(let i=0; i<ps.length; i++) {
for(let i=ps.length-1; i>=0; i--) { // reverse
let p = ps[i]
const w = ws[i]
const t = newTranche({