From 82a3bb521b33ad1a9d75dc92585c71b144598c70 Mon Sep 17 00:00:00 2001 From: Rabbit Date: Fri, 29 Mar 2024 10:40:59 +0800 Subject: [PATCH] feat: display inputs add omiga info --- app/models/concerns/display_cells.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/models/concerns/display_cells.rb b/app/models/concerns/display_cells.rb index b7caafb9a..bca0e1c2d 100644 --- a/app/models/concerns/display_cells.rb +++ b/app/models/concerns/display_cells.rb @@ -108,6 +108,9 @@ def normal_tx_display_inputs(cell_inputs_for_display) if previous_cell_output.cell_type.in?(%w(nrc_721_token nrc_721_factory)) display_input.merge!(attributes_for_nrc_721_cell(previous_cell_output)) end + if previous_cell_output.cell_type.in?(%w(omiga_inscription_info omiga_inscription)) + display_input.merge!(attributes_for_omiga_inscription_cell(previous_cell_output)) + end CkbUtils.hash_value_to_s(display_input) end