Skip to content

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 bsv-blockchain: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