Skip to content

Commit 7f23b9d

Browse files
authored
Merge pull request #33 from cometh-hq/develop
fix: hex value (#32)
2 parents 9f7093b + 4f5e220 commit 7f23b9d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cometh/connect-sdk-viem",
3-
"version": "2.0.4",
3+
"version": "2.0.5",
44
"main": "dist/index.js",
55
"types": "dist/index.d.ts",
66
"description": "Viem SDK Cometh Connect",

src/customActions/sendTransaction.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ export async function sendTransaction<
3333
const result = await wallet.sendTransaction(
3434
deepHexlify({
3535
to: to,
36-
value: value || 0n,
37-
data: data || 0n
36+
value: value || "0x00",
37+
data: data || "0x00",
3838
})
3939
)
4040

0 commit comments

Comments
 (0)