Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

btc: add hex support to sign message. #527

Merged
merged 1 commit into from
Feb 18, 2020

Conversation

nodech
Copy link
Contributor

@nodech nodech commented Feb 11, 2020

Add ability to optionally pass hex string to sign message. Also moved hex utilities to format utilities (I noticed they are generic, not ethereum related) This introduces a way to pass hex string instead of normal string for signing binary messages. The API is same as for ethereumSignMessage, where you have to pass optional hex parameter when you pass hex string in message. If hex is false, it will behave the same way as before.


Accidentally removed branch from GH and it closed previous PR: #522

Move hex utils from ethereumUtils to formatUtils.
@szymonlesisz szymonlesisz merged commit 340c939 into trezor:develop Feb 18, 2020
@szymonlesisz
Copy link
Contributor

great! thanks for contribution

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants