Skip to content

Commit

Permalink
Allow for finished vesting
Browse files Browse the repository at this point in the history
  • Loading branch information
jkilpatr committed May 3, 2024
1 parent d16ee3f commit 697c5d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gravity-info-server/src/total_suppy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ async fn compute_liquid_supply(
original_vesting_amount_float * vesting_percent_complete;
let total_amount_vested: Uint256 = (total_amount_vested.ceil() as u128).into();

assert!(original_vesting_amount > total_amount_vested);
assert!(original_vesting_amount >= total_amount_vested);
let total_amount_still_vesting = original_vesting_amount - total_amount_vested;

total_vested += total_amount_vested;
Expand Down

0 comments on commit 697c5d5

Please sign in to comment.