From 8f915624e1d6d4a4fbad8882edcfec3c7f0509fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=BCndler?= Date: Fri, 1 Mar 2024 21:04:40 +0100 Subject: [PATCH] Consider all_scripts for smartness of transaction Previously reference scripts were ignored --- pycardano/txbuilder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (