Skip to content

Commit

Permalink
Fix from cbor and version tag
Browse files Browse the repository at this point in the history
  • Loading branch information
nielstron committed Jul 1, 2023
1 parent 8338fa2 commit 9684ca9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion opshin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import warnings

__version__ = "0.15.0"
__version__ = "0.15.1"
__author__ = "nielstron"
__author_email__ = "[email protected]"
__copyright__ = "Copyright (C) 2023 nielstron"
Expand Down
2 changes: 1 addition & 1 deletion opshin/bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 9684ca9

Please sign in to comment.