origing_transfer_limit
This commit is contained in:
@@ -461,7 +461,7 @@ long WrenchFamilyTransfer(CVars in, CVars &out){
|
|||||||
" WHERE w.member_id = %lu AND w.currency='%s' AND w.uid='%s'", in["member_id"].Long(), out["currency"].c_str(), in["origing_wallet_uid"].c_str()) ){
|
" WHERE w.member_id = %lu AND w.currency='%s' AND w.uid='%s'", in["member_id"].Long(), out["currency"].c_str(), in["origing_wallet_uid"].c_str()) ){
|
||||||
|
|
||||||
|
|
||||||
if (in["amount"].Long() > out["transfer_limit"].Long() ){
|
if (in["amount"].Long() > out["origing_transfer_limit"].Long() ){
|
||||||
err_count++;
|
err_count++;
|
||||||
out["error_limit"] = "amount_greater_than_limit";
|
out["error_limit"] = "amount_greater_than_limit";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user