File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
app/models/concerns/ckb_transactions Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments