From 23f391bb0f2320a4b65cb738d759ad611bad4eb1 Mon Sep 17 00:00:00 2001 From: Hootan Shadmehr Date: Tue, 26 Jul 2022 13:50:05 -0700 Subject: [PATCH] Fix Typo: ))) -> )) --- docs/_rpc/ns-personal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_rpc/ns-personal.md b/docs/_rpc/ns-personal.md index c3086ccb50..f33dc0e044 100644 --- a/docs/_rpc/ns-personal.md +++ b/docs/_rpc/ns-personal.md @@ -207,7 +207,7 @@ undefined ### personal_sign The sign method calculates an Ethereum specific signature with: -`sign(keccak256("\x19Ethereum Signed Message:\n" + len(message) + message)))`. +`sign(keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))`. By adding a prefix to the message makes the calculated signature recognisable as an Ethereum specific signature. This prevents misuse where a malicious DApp can sign arbitrary data (e.g. transaction) and use the signature to impersonate the victim.