Skip to content

Commit 92db3e2

Browse files
authored
Merge pull request #45 from multiversx/fix-tx-signature
Update 6.0.1
2 parents ed1ff93 + c0f45f1 commit 92db3e2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@multiversx/sdk-wallet-connect-provider",
3-
"version": "6.0.0",
3+
"version": "6.0.1",
44
"description": "Signing provider for dApps: WalletConnect",
55
"main": "out/index.js",
66
"types": "out/index.d.js",

src/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,10 @@ export function applyTransactionSignature({
162162
transaction.options = options;
163163
}
164164

165-
transaction.signature = Buffer.from(signature);
165+
transaction.signature = Buffer.from(signature, "hex");
166166

167167
if (guardianSignature) {
168-
transaction.guardianSignature = Buffer.from(guardianSignature);
168+
transaction.guardianSignature = Buffer.from(guardianSignature, "hex");
169169
}
170170

171171
return transaction;

0 commit comments

Comments
 (0)