diff --git a/opshin/__init__.py b/opshin/__init__.py index 7033d79c..5ba779a9 100644 --- a/opshin/__init__.py +++ b/opshin/__init__.py @@ -6,7 +6,7 @@ import warnings -__version__ = "0.15.0" +__version__ = "0.15.1" __author__ = "nielstron" __author_email__ = "n.muendler@web.de" __copyright__ = "Copyright (C) 2023 nielstron" diff --git a/opshin/bridge.py b/opshin/bridge.py index 7458faeb..2591799c 100644 --- a/opshin/bridge.py +++ b/opshin/bridge.py @@ -19,7 +19,7 @@ def to_uplc_builtin(a): list([(to_uplc_builtin(k), to_uplc_builtin(v)) for k, v in a]) ) if isinstance(a, PlutusData): - return uplc.ast.data_from_cbor(a.to_cbor("bytes")) + return uplc.ast.data_from_cbor(a.to_cbor()) def to_python(a):