Skip to content

Commit 9a1cc3d

Browse files
authored
Merge pull request #2664 from nervosnetwork/testnet
Deploy to mainnet
2 parents 80c990c + 7fe9add commit 9a1cc3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/concerns/ckb_transactions/display_cells.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def normal_tx_display_inputs(cell_inputs_for_display)
104104
display_input.merge!(attributes_for_dao_input(previous_cell_output))
105105
end
106106
if previous_cell_output.nervos_dao_deposit?
107-
display_input.merge!(attributes_for_dao_input(cell_outputs[cell_input.index], false))
107+
display_input.merge!(attributes_for_dao_input(cell_outputs.order(:cell_index)[cell_input.index], false))
108108
end
109109
if previous_cell_output.udt?
110110
display_input.merge!(attributes_for_udt_cell(previous_cell_output))

0 commit comments

Comments
 (0)