Fixup claims pay message via consts (#2018)

* Fixup claims pay message via consts

* Remove unused
This commit is contained in:
Jaco Greeff 2019-12-09 13:54:56 +01:00 committed by GitHub
parent ee9bb070a1
commit 6b760c7e61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
)
: '';