mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #6356 from ConstantinKloecker/patch-1
[DOCS] Fixed code block display
This commit is contained in:
commit
99ed3a6452
@ -38,6 +38,7 @@ In this tutorial, we will sign messages in the browser using `web3.js <https://g
|
||||
as it provides a number of other security benefits.
|
||||
|
||||
::
|
||||
|
||||
/// Hashing first makes things easier
|
||||
var hash = web3.utils.sha3("message to sign");
|
||||
web3.eth.personal.sign(hash, web3.eth.defaultAccount, function () { console.log("Signed"); });
|
||||
|
Loading…
Reference in New Issue
Block a user