Skip to content

Commit

Permalink
Merge pull request #4 from DcentWallet/dev
Browse files Browse the repository at this point in the history
release v0.2.1-beta
  • Loading branch information
paromix authored May 25, 2020
2 parents 4664f9a + 95e38ff commit af31b4e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dcent-provider",
"version": "0.2.0-beta",
"version": "0.2.1-beta",
"description": "D'CENT Provider wrapping Dcent Web Connector",
"main": "src/index.js",
"scripts": {
Expand Down
6 changes: 4 additions & 2 deletions src/provider-factory/dcent-hooked-wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ class DcentHookedWallet extends HookedWalletSubprovider{

signMessage(msgParam, callback) {
LOG.debug('msgParam = ', msgParam)
const message = EthUtil.toUtf8(msgParam.data)
//const message = EthUtil.toUtf8(msgParam.data)
const message = msgParam.data
LOG.debug('message = ', message)
DcentConnector.ethereumSignMessage(message)
.then((signed) => {
Expand All @@ -59,7 +60,8 @@ class DcentHookedWallet extends HookedWalletSubprovider{

signPersonalMessage(msgParam, callback) {
LOG.debug('msgParam = ', msgParam)
const message = EthUtil.toUtf8(msgParam.data)
//const message = EthUtil.toUtf8(msgParam.data)
const message = msgParam.data
LOG.debug('message = ', message)
DcentConnector.ethereumSignMessage(message)
.then((signed) => {
Expand Down

0 comments on commit af31b4e

Please sign in to comment.