From a264e07bcde3775a29994b971a2a46a3bb276736 Mon Sep 17 00:00:00 2001 From: Jaco Date: Tue, 12 Oct 2021 13:10:55 +0300 Subject: [PATCH] Hex on teleport recipient --- packages/page-parachains/src/Teleport.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/page-parachains/src/Teleport.tsx b/packages/page-parachains/src/Teleport.tsx index f930b300bd..3801217ae3 100644 --- a/packages/page-parachains/src/Teleport.tsx +++ b/packages/page-parachains/src/Teleport.tsx @@ -88,7 +88,7 @@ function Teleport ({ onClose }: Props): React.ReactElement | null { const dst = isParaTeleport ? { X1: 'Parent' } : { X1: { ParaChain: recipientParaId } }; - const acc = { X1: { AccountId32: { id: recipientId, network: 'Any' } } }; + const acc = { X1: { AccountId32: { id: api.createType('AccountId32', recipientId).toHex(), network: 'Any' } } }; const ass = isParaTeleport ? [{ ConcreteFungible: { amount, id: { X1: 'Parent' } } }] // forgo id - 'Here' for 9100, 'Null' for 9110 (both is the default enum value)