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

fix(primitives): Fix native scripts policy id (add missing tag) #94

Merged
merged 1 commit into from
Apr 27, 2022

Conversation

#[inline]
pub fn hash_tagged_cbor(
data: &impl minicbor::Encode,
tag: &[u8],
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could also use a single u8 if preferred as this will likely cover all use cases for a long time.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed it to an u8 in updated version.

@SmaugPool SmaugPool force-pushed the fix-native-scripts-policy-id branch from dcd2c06 to bd2044d Compare April 26, 2022 15:11
@scarmuega scarmuega merged commit 34c31fe into txpipe:main Apr 27, 2022
@scarmuega scarmuega linked an issue Apr 27, 2022 that may be closed by this pull request
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.

Implement canonical JSON serialization of aplicable primitives
2 participants