diff --git a/app/models/cell_dependency.rb b/app/models/cell_dependency.rb index f4816695a..e43890c1d 100644 --- a/app/models/cell_dependency.rb +++ b/app/models/cell_dependency.rb @@ -20,7 +20,7 @@ def to_raw } end - def parse_cell_dpes_from_ckb_transaction(ckb_transaction, cell_deps) + def self.parse_cell_dpes_from_ckb_transaction(ckb_transaction, cell_deps) return if cell_deps.blank? cell_dependencies_attrs = []