line building fixes

This commit is contained in:
tim
2024-09-11 01:09:07 -04:00
parent 84cadc6e6f
commit 80e03f648b
5 changed files with 24 additions and 39 deletions

View File

@@ -280,7 +280,7 @@ function describeTrancheTime(st, trancheIndex, isStart) {
let result = ''
if( t.minIsBarrier || t.maxIsBarrier )
return 'barrier'
const now = Math.round(Date.now()/1000)
const now = s.clock
if( isStart && t.startTime > 0 ) {
const start = t.startTimeIsRelative ? st.startTime + t.startTime : t.startTime
result += now < start ? ts.activationTime < now ? 'Rate Limited ' : 'Activates ' : 'Activated '