diff --git a/packages/extension/src/providers/kadena/types/kda-token.ts b/packages/extension/src/providers/kadena/types/kda-token.ts index 107e9cbed..07f7c3e5b 100644 --- a/packages/extension/src/providers/kadena/types/kda-token.ts +++ b/packages/extension/src/providers/kadena/types/kda-token.ts @@ -57,7 +57,6 @@ export class KDAToken extends KDABaseToken { network: KadenaNetwork ): Promise { to = network.displayAddress(to); - const toKey = to.replace("k:", ""); const accountDetails = await this.getAccountDetails(to, network); const api = (await network.api()) as KadenaAPI; const chainID = await api.getChainId(); @@ -73,7 +72,7 @@ export class KDAToken extends KDABaseToken { } ) ) - .addKeyset("ks", "keys-all", toKey) + .addKeyset("ks", "keys-all", keySetAccount) .addSigner(from.publicKey.replace("0x", ""), (withCap: any) => [ withCap("coin.TRANSFER", network.displayAddress(from.address), to, { decimal: amount,