diff --git a/wrenchboard/src/shared_tool/payments.cc b/wrenchboard/src/shared_tool/payments.cc index ff1d53cf..59919ad9 100644 --- a/wrenchboard/src/shared_tool/payments.cc +++ b/wrenchboard/src/shared_tool/payments.cc @@ -933,7 +933,7 @@ long WrenchSendMoneyPayment( CVars in, CVars &out ) REQ_STRING (in, "code", 4, 5, "(.*)"); REQ_LONG( in, "dir", 1, -1 ); REQ_LONG( in, "sendmoney_id", 1, -1 ); - REQ_LONG( in, "wallet_id", 1, -1 ); + long wallet_id = REQ_LONG( in, "wallet_id", 1, -1 ); // CVars vw; // vw["currency"] = "NAIRA"; // this might become a variable based on the country