fixed code block display

This commit is contained in:
Constantin Kloecker 2019-03-23 11:38:59 +01:00 committed by GitHub
parent 0af47da1b6
commit 5936f52aa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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