提交 93d8decb 编写于 作者: W wangxxzhiyy

update hddpool contract

上级 158eaf5e
......@@ -315,10 +315,7 @@ void hddpool::subbalance(name user, int64_t balance, uint8_t acc_type, name call
{
eosio_assert(is_account(user), "user invalidate");
if(acc_type == 1) {
require_auth( user );
}
else if(acc_type == 2) {
if(acc_type == 2) {
eosio_assert(is_account(caller), "caller not a account.");
check_bp_account(caller.value, user.value, false);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册