Skip to content

Commit 0bb4864

Browse files
author
Fabrice Bascoulergue
committed
Update auto generated docs
1 parent 2a39963 commit 0bb4864

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

docs/lib/modules/lumutils.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -585,11 +585,14 @@ ___
585585

586586
`Const`**verifySignMsg**(`msg`: [*SignMsg*](../interfaces/lumtypes.signmsg.md)): *Promise*<boolean\>
587587

588+
Verify that a message is signed by the provided publicKey
589+
Will also verify that the address is indeed derivated by the provided publicKey
590+
588591
#### Parameters:
589592

590-
Name | Type |
591-
:------ | :------ |
592-
`msg` | [*SignMsg*](../interfaces/lumtypes.signmsg.md) |
593+
Name | Type | Description |
594+
:------ | :------ | :------ |
595+
`msg` | [*SignMsg*](../interfaces/lumtypes.signmsg.md) | Message to verify such as generated by the LumWallet.signMessage method |
593596

594597
**Returns:** *Promise*<boolean\>
595598

@@ -599,13 +602,13 @@ ___
599602

600603
`Const`**verifySignature**(`signature`: *Uint8Array*, `signedBytes`: *Uint8Array*, `publicKey`: *Uint8Array*): *Promise*<boolean\>
601604

602-
Verify that a transaction signature is valid
605+
Verify that a signature is valid
603606

604607
#### Parameters:
605608

606609
Name | Type | Description |
607610
:------ | :------ | :------ |
608-
`signature` | *Uint8Array* | transaction signature (as generated by the generateSignature function) |
611+
`signature` | *Uint8Array* | signature (as generated by the generateSignature function) |
609612
`signedBytes` | *Uint8Array* | signed bytes (as generated by the generateSignDocBytes function or by the signMessage function) |
610613
`publicKey` | *Uint8Array* | public key of the signing key pair (secp256k1) |
611614

0 commit comments

Comments
 (0)