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

Accept hash parameter of getTransactions in base64 as well as in hex. #8

Merged
merged 1 commit into from Feb 7, 2022

Conversation

dungeon-master-666
Copy link
Collaborator

Detect hash encoding based on the length and convert to hex if base64 is received. Converting to hex is required since tonlib accepts only hex hashes.
Fixes issue #7

@tvorogme
Copy link

tvorogme commented Feb 7, 2022

Really needed feature :)

@dungeon-master-666 dungeon-master-666 merged commit 0ca1ef7 into master Feb 7, 2022
@dungeon-master-666 dungeon-master-666 deleted the get_transactions_hash_b64 branch February 7, 2022 14:25
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.

None yet

3 participants