Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
bump version to 1.6.1
  • Loading branch information
wk3368 committed Nov 10, 2021
1 parent aeb6ddd commit 37ee6df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@starcoin/starcoin",
"version": "1.6.0",
"version": "1.6.1",
"description": "starcoin js sdk",
"author": "lerencao, wk3368, tarvos21",
"license": "Apache-2.0",
Expand Down
1 change: 1 addition & 0 deletions src/utils/signed-message.ts
Expand Up @@ -40,6 +40,7 @@ function getEd25519SignMsgBytes(
return msgBytes;
}

// simulate OneKeyConnect.starcoinSignMessage with the same response payload
async function signMessage(signingMessageBytes: bytes, privateKeyHex: string): Promise<Record<string, string>> {
const publicKeyHex = await <string><unknown>ed.getPublicKey(stripHexPrefix(privateKeyHex));
const signatureBytes = await ed.sign(signingMessageBytes, stripHexPrefix(privateKeyHex))
Expand Down

0 comments on commit 37ee6df

Please sign in to comment.