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

bitcoin: add hex support to sign message. #522

Closed
wants to merge 1 commit into from

Conversation

nodech
Copy link
Contributor

@nodech nodech commented Jan 28, 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.


Unrelated to this, but I noticed two tests are failing on Ripple (These are failing on develop branch as well): #523

Move hex utils from ethereumUtils to formatUtils.
This was referenced Jan 28, 2020
nodech added a commit to nodech/connect that referenced this pull request Jan 28, 2020
nodech added a commit to nodech/connect that referenced this pull request Jan 28, 2020
nodar-chkuaselidze/signMessage-withHex
nodech added a commit to nodech/connect that referenced this pull request Jan 28, 2020
@nodech nodech closed this Feb 6, 2020
@nodech nodech deleted the signMessage-withHex branch February 6, 2020 13:27
@nodech nodech restored the signMessage-withHex branch February 11, 2020 13:01
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.

1 participant