Skip to content

Commit 00459af

Browse files
committed
chore(ts-sdk-sui): fixed ts-sdk-evm error
Signed-off-by: kaancaglan <[email protected]>
1 parent bbb70a9 commit 00459af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ts-sdk/src/Ucs05.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,8 @@ export const anyDisplayToCanonical = Match.type<AnyDisplay>().pipe(
332332
console.log("bytes", { result })
333333
},
334334
EvmDisplay: ({ address }) => AddressCanonicalBytes.make(address),
335-
SuiDisplay: ({ address }) => AddressCanonicalBytes.make(normalizeSuiAddress(address)),
335+
SuiDisplay: ({ address }) => AddressCanonicalBytes.make(normalizeSuiAddress(address) as Hex),
336+
336337
}),
337338
)
338339
/**

0 commit comments

Comments
 (0)