Skip to content

Commit bb41171

Browse files
authored
Consider all_scripts for smartness of transaction (#323)
Previously reference scripts were ignored
1 parent 4245029 commit bb41171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pycardano/txbuilder.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ def build(
10211021
self._ensure_no_input_exclusion_conflict()
10221022

10231023
# only automatically set the validity interval and required signers if scripts are involved
1024-
is_smart = bool(self.scripts)
1024+
is_smart = bool(self.all_scripts)
10251025

10261026
# Automatically set the validity range to a tight value around transaction creation
10271027
if (

0 commit comments

Comments
 (0)