Skip to content

Commit bcb182d

Browse files
authored
Update contract.py
1 parent e66d426 commit bcb182d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework/helper/contract.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,9 @@ def invoke_ckb_contract(
235235
tmp_tx_file,
236236
)
237237
# add dep
238-
tx_add_cell_dep(cell_dep["tx_hash"], cell_dep["index"], tmp_tx_file)
239238
for cell_dep_tmp in cell_deps:
240239
tx_add_cell_dep(cell_dep_tmp["tx_hash"], cell_dep_tmp["index"], tmp_tx_file)
240+
tx_add_cell_dep(cell_dep["tx_hash"], cell_dep["index"], tmp_tx_file)
241241
# sign
242242
sign_data = tx_sign_inputs(account_private, tmp_tx_file, api_url)
243243
tx_add_signature(

0 commit comments

Comments
 (0)