File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
lib/go/contracts/internal/assets Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -460,8 +460,10 @@ access(all) contract FlowTransactionScheduler {
460460 self .timestamps = []
461461 }
462462
463- // bisect is a function that finds the index to insert a new timestamp in the sorted array.
464- // taken from bisect_right in pthon https://stackoverflow.com/questions/2945017/javas-equivalent-to-bisect-in-python
463+ /// bisect is a function that finds the index to insert a new timestamp in the sorted array.
464+ /// taken from bisect_right in pthon https://stackoverflow.com/questions/2945017/javas-equivalent-to-bisect-in-python
465+ /// @param new: The new timestamp to insert
466+ /// @return: The index to insert the new timestamp at or nil if the timestamp is already in the array
465467 access (all) fun bisect (new : UFix64 ): Int ? {
466468 var high = self .timestamps.length
467469 var low = 0
You can’t perform that action at this time.
0 commit comments