Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add: ScriptChunk in __init__.py #12

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

voyager1708
Copy link
Collaborator

Description of Changes

The issue with importing ScriptChunk from bsv.script was caused by the init.py file in the /bsv/script directory not including ScriptChunk in its export definitions. To resolve this issue, the following changes were made:

Updated the init.py file in the /bsv/script directory to explicitly include ScriptChunk in its import and export definitions.
Ensured consistency with the expected behavior, so from bsv import ScriptChunk works as intended.

Linked Issues / Tickets

Closes #11.

Testing Procedure

Without error:

$ python
Python 3.11.9 (main, Apr 19 2024, 16:48:06) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

from bsv import ScriptChunk

@ALiberalVoluntarist ALiberalVoluntarist merged commit edaf44c into bitcoin-sv:master Dec 11, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] ScriptChunk
2 participants