Skip to content

Commit

Permalink
fix: allow message signing with wallet address
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Medeiros authored and iurimatias committed Dec 20, 2018
1 parent 2195475 commit 3a8808e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/modules/blockchain_connector/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ class BlockchainConnector {
(req, res) => {
const signer = req.body.address;
const message = req.body.message;
this.web3.eth.personal.sign(message, signer).then(signature => {
this.web3.eth.sign(message, signer).then(signature => {
res.send({signer, signature, message});
}).catch(e => res.send({ error: e.message }));
}
Expand Down

0 comments on commit 3a8808e

Please sign in to comment.