diff --git a/contracts/vesting.tmy/include/vesting.tmy/vesting.tmy.hpp b/contracts/vesting.tmy/include/vesting.tmy/vesting.tmy.hpp index 833c7ac..12b1b13 100644 --- a/contracts/vesting.tmy/include/vesting.tmy/vesting.tmy.hpp +++ b/contracts/vesting.tmy/include/vesting.tmy/vesting.tmy.hpp @@ -61,6 +61,9 @@ namespace vestingtoken {26, {days(0 * 30), days(0 * 30), days(5 * 365), 0.0}}, // Platform Dev {27, {days(0 * 30), days(0 * 30), days(5 * 365), 0.0}}, // Staking & Infra Rewards {28, {days(0 * 30), days(0 * 30), days(5 * 365), 0.0}}, // Ecosystem + {29, {days(0 * 30), days(26), days(6 * 30), 0.15}}, // Double Special Round - Full + {30, {days(0 * 30), days(26), days(3 * 30), 0.3}}, // Double Special Round - Part 1 + {31, {days(0 * 30), days(26 + 3 * 30), days(3 * 30), 0.0}}, // Double Special Round - Part 2 // Testing categories: #ifdef BUILD_TEST {997, {days(6 * 30), days(0 * 30), days(2 * 365), 0.0}}, // TESTING ONLY diff --git a/contracts/vesting.tmy/src/vesting.tmy.cpp b/contracts/vesting.tmy/src/vesting.tmy.cpp index 6320ae5..79ef6c6 100644 --- a/contracts/vesting.tmy/src/vesting.tmy.cpp +++ b/contracts/vesting.tmy/src/vesting.tmy.cpp @@ -176,7 +176,7 @@ namespace vestingtoken // Checks to verify new allocation is valid eosio::check(iter->tokens_allocated.amount == old_amount.amount, "Old amount does not match existing allocation"); eosio::check(iter->vesting_category_type == old_category_id, "Old category does not match existing allocation"); - eosio::check(iter->tokens_claimed.amount < new_amount.amount, "New amount is less than the amount already claimed"); + eosio::check(iter->tokens_claimed.amount <= new_amount.amount, "New amount is less than the amount already claimed"); // Modify the table row data, and update the table vesting_table.modify(iter, get_self(), [&](auto &row)