Skip to content

Commit

Permalink
docs: updated signer prefix info (#2032).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Oct 4, 2021
1 parent d67f8fb commit 375627f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs.wrm/api/signer.wrm
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ _property: signer.signMessage(message) => Promise<string<[RawSignature](signatur
This returns a Promise which resolves to the [[signature-raw]]
of //message//.

A signed message is prefixd with ``"\\x19Ethereum signed message:\\n"`` and
A signed message is prefixd with ``"\\x19Ethereum Signed Message:\\n"`` and
the length of the message, using the [hashMessage](utils-hashMessage)
method, so that it is [EIP-191](link-eip-191) compliant. If recovering
the address in Solidity, this prefix will be required to create a matching
Expand Down

0 comments on commit 375627f

Please sign in to comment.