diff --git a/pycardano/txbuilder.py b/pycardano/txbuilder.py index 52a0f989..efe2058c 100644 --- a/pycardano/txbuilder.py +++ b/pycardano/txbuilder.py @@ -994,7 +994,7 @@ def build( self._ensure_no_input_exclusion_conflict() # only automatically set the validity interval and required signers if scripts are involved - is_smart = bool(self.scripts) + is_smart = bool(self.all_scripts) # Automatically set the validity range to a tight value around transaction creation if (