aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Vítor <joaovmferreira@gmail.com>2018-06-04 04:57:15 +0800
committerGitHub <noreply@github.com>2018-06-04 04:57:15 +0800
commit94381c67b9c070d7580ccdda015b375e0495a3ea (patch)
tree440f120218dbe5ead14ec2fb0a989349255a1243
parent6bd82428d2e766893fda8c89eb512e37a1d2ba1f (diff)
downloaddexon-solidity-94381c67b9c070d7580ccdda015b375e0495a3ea.tar.gz
dexon-solidity-94381c67b9c070d7580ccdda015b375e0495a3ea.tar.zst
dexon-solidity-94381c67b9c070d7580ccdda015b375e0495a3ea.zip
fix returns
-rw-r--r--docs/solidity-by-example.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/solidity-by-example.rst b/docs/solidity-by-example.rst
index cad652dc..b1bc11d9 100644
--- a/docs/solidity-by-example.rst
+++ b/docs/solidity-by-example.rst
@@ -851,7 +851,7 @@ The full contract
}
/// builds a prefixed hash to mimic the behavior of eth_sign.
- function prefixed(bytes32 hash) internal pure return (bytes32) {
+ function prefixed(bytes32 hash) internal pure returns (bytes32) {
return keccak256("\x19Ethereum Signed Message:\n32", hash);
}
}