Merge pull request #25411 from hootio/patch-1

doc: fix typo
pull/25418/head
rjl493456442 2 years ago committed by GitHub
commit 11087cbfb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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.

Loading…
Cancel
Save