order status updates working
This commit is contained in:
@@ -265,7 +265,7 @@ function placeOrder() {
|
||||
window = duration
|
||||
duration *= n // duration is the total time for all tranches
|
||||
} else {
|
||||
window = duration / n
|
||||
window = Math.round(duration / n)
|
||||
}
|
||||
const oneHundredPercent = 65535n // by contract definition of uint16 fraction
|
||||
const ceil = oneHundredPercent % BigInt(n) ? 1n : 0n
|
||||
|
||||
Reference in New Issue
Block a user