Skip to content

Commit d8396f8

Browse files
committed
fix: encoding
1 parent c375546 commit d8396f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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": "@reservoir0x/relay-protocol-sdk",
3-
"version": "0.0.58",
3+
"version": "0.0.59",
44
"description": "Relay protocol SDK",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/messages/v2.1/depository-withdrawal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ export const encodeWithdrawal = (
235235
domain: Buffer.from(
236236
decodedWithdrawal.withdrawal.domain.slice(2),
237237
"hex"
238-
).buffer,
238+
),
239239
recipient: new PublicKey(decodedWithdrawal.withdrawal.recipient),
240240
token:
241241
decodedWithdrawal.withdrawal.token ===

0 commit comments

Comments
 (0)