Skip to content

Commit

Permalink
Update contract.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gpBlockchain authored Nov 13, 2024
1 parent e66d426 commit bcb182d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/helper/contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@ def invoke_ckb_contract(
tmp_tx_file,
)
# add dep
tx_add_cell_dep(cell_dep["tx_hash"], cell_dep["index"], tmp_tx_file)
for cell_dep_tmp in cell_deps:
tx_add_cell_dep(cell_dep_tmp["tx_hash"], cell_dep_tmp["index"], tmp_tx_file)
tx_add_cell_dep(cell_dep["tx_hash"], cell_dep["index"], tmp_tx_file)
# sign
sign_data = tx_sign_inputs(account_private, tmp_tx_file, api_url)
tx_add_signature(
Expand Down

0 comments on commit bcb182d

Please sign in to comment.