Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/models/deposit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class Deposit < ApplicationRecord
end

event :process do
transitions from: %i[aml_processing aml_suspicious accepted errored], to: :aml_processing do
transitions from: %i[aml_processing aml_suspicious accepted], to: :aml_processing do
guard do
Peatio::AML.adapter.present? || Peatio::App.config.manual_deposit_approval
end
Expand Down