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 encoding of all 0 lease and assetMetadataHash #280

Merged
merged 1 commit into from
Apr 1, 2021

Conversation

jasonpaulos
Copy link
Contributor

This PR fixes an encoding inconsistency between this SDK and algod when lease or assetMetadataHash consist of all zeros. A similar fix for the Python SDK was recently merged: algorand/py-algorand-sdk#174.

Fixes #272.

src/transaction.js Outdated Show resolved Hide resolved
Copy link
Contributor

@jdtzmn jdtzmn left a comment

Choose a reason for hiding this comment

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

Looks good!

@jasonpaulos jasonpaulos merged commit 6dfe8d7 into develop Apr 1, 2021
@jasonpaulos jasonpaulos deleted the jason/txn-encoding branch April 1, 2021 20:08
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.

Make sure the SDK and algod agree on encoding
3 participants