diff --git a/contracts/hddpool/hddpool.cpp b/contracts/hddpool/hddpool.cpp index 551277378922a403f4b3b6d81711be3ae90e94d4..d58846d728818e2e20171aa849fe446d0e7c497f 100644 --- a/contracts/hddpool/hddpool.cpp +++ b/contracts/hddpool/hddpool.cpp @@ -195,7 +195,7 @@ void hddpool::buyhdd(name from, name receiver, int64_t amount, std::string memo) eosio_assert(is_account(from), "user not a account"); eosio_assert(is_account(receiver), "receiver not a account"); eosio_assert(is_account(hdd_exchg_acc), "to not a account"); - eosio_assert(amount > min_buy_hdd_amount, "amount too low"); + eosio_assert(amount >= min_buy_hdd_amount, "amount too low"); eosio_assert(amount <= max_buy_sell_hdd_amount, "exceed single purchase volume"); eosio_assert(is_hdd_amount_within_range(amount), "magnitude of amount must be less than 2^62");