Skip to content

Commit

Permalink
Merge pull request #2471 from joshstevens19/@types/sign
Browse files Browse the repository at this point in the history
`Sign` needed to have a signature on typing's + fix incorrect docs
  • Loading branch information
nivida authored Mar 18, 2019
2 parents f66e080 + 88ad4c2 commit 4bd1410
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/web3-eth-accounts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ Parameters
Returns
-------

``String|Object``: The signed data RLP encoded signature, or if ``returnSignature`` is ``true`` the signature values as follows:
``Object``: The signed data RLP encoded signature, or if ``returnSignature`` is ``true`` the signature values as follows:
- ``message`` - ``String``: The the given message.
- ``messageHash`` - ``String``: The hash of the given message.
- ``r`` - ``String``: First 32 bytes of the signature
Expand Down
1 change: 1 addition & 0 deletions packages/web3-eth-accounts/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,5 @@ export interface EncryptedKeystoreV3Json {

export interface Sign extends SignedTransaction {
message: string;
signature: string;
}

0 comments on commit 4bd1410

Please sign in to comment.