diff --git a/pycardano/utils.py b/pycardano/utils.py index 036b5019..d486e8f0 100644 --- a/pycardano/utils.py +++ b/pycardano/utils.py @@ -247,6 +247,7 @@ def script_data_hash( """ if not redeemers: cost_models = {} + redeemers = {} elif not cost_models: cost_models = COST_MODELS