mirror of https://github.com/embarklabs/embark.git
fix: allow message signing with wallet address
This commit is contained in:
parent
2195475fe6
commit
3a8808e2f5
|
@ -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 }));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue