From bcb182d2e695d70bd4b9b2923db270f57909b263 Mon Sep 17 00:00:00 2001 From: gpBlockchain <32102187+gpBlockchain@users.noreply.github.com> Date: Wed, 13 Nov 2024 09:49:49 +0800 Subject: [PATCH] Update contract.py --- framework/helper/contract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/helper/contract.py b/framework/helper/contract.py index 76ac288..fed0df6 100644 --- a/framework/helper/contract.py +++ b/framework/helper/contract.py @@ -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(