Skip to content

Commit 3a808cd

Browse files
authored
Merge pull request #2660 from nervosnetwork/develop
Deploy to testnet
2 parents b56b687 + df68769 commit 3a808cd

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
@@ -220,7 +220,7 @@ def attributes_for_omiga_inscription_cell(omiga_inscription_cell)
220220
def attributes_for_dao_input(nervos_dao_withdrawing_cell, is_phase2 = true)
221221
nervos_dao_withdrawing_cell_generated_tx = nervos_dao_withdrawing_cell.ckb_transaction
222222
nervos_dao_deposit_cell = nervos_dao_withdrawing_cell_generated_tx.
223-
cell_inputs.order(:id)[nervos_dao_withdrawing_cell.cell_index].previous_cell_output
223+
cell_inputs.order("index asc")[nervos_dao_withdrawing_cell.cell_index].previous_cell_output
224224
# start block: the block contains the transaction which generated the deposit cell output
225225
compensation_started_block = Block.select(:number, :timestamp).find(nervos_dao_deposit_cell.block.id)
226226
# end block: the block contains the transaction which generated the withdrawing cell

0 commit comments

Comments
 (0)