I, [2020-11-07T21:37:53.686647 #125661] INFO -- : Started POST "/withdraws/banks" for 127.0.0.1 at 2020-11-07 21:37:53 -0800
I, [2020-11-07T21:37:53.698813 #125661] INFO -- : Processing by Private::Withdraws::BanksController#create as HTML
I, [2020-11-07T21:37:53.699162 #125661] INFO -- : Parameters: {"withdraw"=>{"member_id"=>1, "currency"=>"cny", "sum"=>5000, "fund_source_id"=>3, "fund_uid"=>"23983675638"}, "two_factor"=>{"type"=>"app", "otp"=>"748697"}, "bank"=>{"withdraw"=>{"member_id"=>1, "currency"=>"cny", "sum"=>5000, "fund_source_id"=>3, "fund_uid"=>"23983675638"}, "two_factor"=>{"type"=>"app", "otp"=>"748697"}}}
I, [2020-11-07T21:37:53.774046 #125661] INFO -- : [Withdraw]: last = 1514764800, current = 1604813873, diff = 90049073, sql = select created_at as result from withdraws where member_id = 1 and currency = 9 order by id desc limit 1
I think the withdraw form for fiat is wrong.
getting bank can't be blank
I believe because of it calling this form in https://github.com/pankaj9310/graviex-peatio/blob/master/public/templates/funds/withdraw_cny.html
this is for crypto and not for fiat
this is the log here
I, [2020-11-07T21:37:53.686647 #125661] INFO -- : Started POST "/withdraws/banks" for 127.0.0.1 at 2020-11-07 21:37:53 -0800 I, [2020-11-07T21:37:53.698813 #125661] INFO -- : Processing by Private::Withdraws::BanksController#create as HTML I, [2020-11-07T21:37:53.699162 #125661] INFO -- : Parameters: {"withdraw"=>{"member_id"=>1, "currency"=>"cny", "sum"=>5000, "fund_source_id"=>3, "fund_uid"=>"23983675638"}, "two_factor"=>{"type"=>"app", "otp"=>"748697"}, "bank"=>{"withdraw"=>{"member_id"=>1, "currency"=>"cny", "sum"=>5000, "fund_source_id"=>3, "fund_uid"=>"23983675638"}, "two_factor"=>{"type"=>"app", "otp"=>"748697"}}} I, [2020-11-07T21:37:53.774046 #125661] INFO -- : [Withdraw]: last = 1514764800, current = 1604813873, diff = 90049073, sql = select created_at as result from withdraws where member_id = 1 and currency = 9 order by id desc limit 1
it's not submitting the bank