wallet found
This commit is contained in:
@@ -2416,7 +2416,7 @@ long WrenchTestWalletCapability(CVars in, CVars &out){
|
||||
}
|
||||
else{
|
||||
ret = load_db_record(out, "SELECT id AS wallet_id, action_type FROM currency WHERE country ='%s'", in["country"].c_str());
|
||||
if ( ret > 0 ){
|
||||
if ( ret >= 0 && out["wallet_id"].Long() > 0 ){
|
||||
out["wallet_available_status"] = "WALLET_AVAILABLE";
|
||||
out["wallet_country_status"] = "USER_COUNTRY_WALLET_ENABLED";
|
||||
out["wallet_action_type"] = out["action_type"];
|
||||
|
||||
Reference in New Issue
Block a user