fix: allow message signing with wallet address

This commit is contained in:
Andre Medeiros 2018-12-18 14:25:48 -05:00 committed by Iuri Matias
parent 2195475fe6
commit 3a8808e2f5
1 changed files with 1 additions and 1 deletions

View File

@ -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 }));
}