Showing 1 of 1 files from the diff.

@@ -259,8 +259,10 @@
Loading
259 259
        // Calculate entries that can be vested and total vested to deduct from totalEscrowedAccountBalance
260 260
        (uint vestedEntries, uint totalVested) = _getVestedEntriesAndAmount(_addressToMigrate, numEntries);
261 261
262 +
        // Vesting entries are sorted in order of oldest to newer entries.
263 +
        // Vested entries 
262 264
        uint remainingEntries = numEntries - vestedEntries;
263 -
        for (uint i = 0; i < remainingEntries; i++) {
265 +
        for (uint i = vestedEntries - 1; i < remainingEntries; i++) {
264 266
            // vestingSchedules[_addressToMigrate].push([vestingSchedule[0], vestingSchedule[1]]);
265 267
        }
266 268
    }
Files Coverage
contracts 95.77%
Project Totals (59 files) 95.77%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading