Fixup claims pay message via consts (#2018)
* Fixup claims pay message via consts * Remove unused
This commit is contained in:
parent
ee9bb070a1
commit
6b760c7e61
@ -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<Props, State> {
|
||||
|
||||
const payload = accountId
|
||||
? (
|
||||
u8aToString(Compact.stripLengthPrefix(api.consts.claims.prefix.toU8a(true))) +
|
||||
u8aToString(api.consts.claims.prefix.toU8a(true)) +
|
||||
u8aToHex(decodeAddress(accountId), -1, false)
|
||||
)
|
||||
: '';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user