We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4a2f3a commit 7a93074Copy full SHA for 7a93074
pycardano/txbuilder.py
@@ -1251,7 +1251,8 @@ def _update_execution_units(
1251
assert (
1252
r.tag is not None
1253
), "Expected tag of redeemer to be set, but found None"
1254
- key = f"{r.tag.name.lower()}:{r.index}"
+ tagname = r.tag.name.lower() if r.tag != RedeemerTag.REWARD else "withdrawal"
1255
+ key = f"{tagname}:{r.index}"
1256
if (
1257
key not in estimated_execution_units
1258
or estimated_execution_units[key] is None
0 commit comments