diff --git a/wrenchboard/src/shared_tool/family_acc.cc b/wrenchboard/src/shared_tool/family_acc.cc index 36517327..d912feaf 100644 --- a/wrenchboard/src/shared_tool/family_acc.cc +++ b/wrenchboard/src/shared_tool/family_acc.cc @@ -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()) ){ - if (in["amount"].Long() > out["transfer_limit"].Long() ){ + if (in["amount"].Long() > out["origing_transfer_limit"].Long() ){ err_count++; out["error_limit"] = "amount_greater_than_limit"; }