diff --git a/packages/app-claims/src/index.tsx b/packages/app-claims/src/index.tsx index 6d4fa9c6c070..164e99b1fad9 100644 --- a/packages/app-claims/src/index.tsx +++ b/packages/app-claims/src/index.tsx @@ -3,7 +3,6 @@ // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. -import { Compact } from '@polkadot/types'; import { Balance, EcdsaSignature, EthereumAddress } from '@polkadot/types/interfaces'; import { AppProps, I18nProps } from '@polkadot/react-components/types'; import { ApiProps } from '@polkadot/react-api/types'; @@ -103,7 +102,7 @@ class App extends TxModal { const payload = accountId ? ( - u8aToString(Compact.stripLengthPrefix(api.consts.claims.prefix.toU8a(true))) + + u8aToString(api.consts.claims.prefix.toU8a(true)) + u8aToHex(decodeAddress(accountId), -1, false) ) : '';