diff --git a/wrenchboard/src/shared_tool/account.cc b/wrenchboard/src/shared_tool/account.cc index 3936d79a..0f4a79ab 100644 --- a/wrenchboard/src/shared_tool/account.cc +++ b/wrenchboard/src/shared_tool/account.cc @@ -2480,7 +2480,7 @@ long LoginWrenchBoardAccount(CVars in, CVars &out) { ret = PHP_LOGIN_OK; CVars xout; - if ( WrenchTestWalletCapability(in, xout) == 0 ){ + if ( WrenchTestWalletCapability(out, xout) == 0 ){ out["wallet_country_status"] = xout["wallet_country_status"]; out["wallet_available_status"] = xout["wallet_available_status"]; out["wallet_action_type"] = xout["wallet_action_type"];