diff --git a/web/cashtab/src/components/Send/SendToken.js b/web/cashtab/src/components/Send/SendToken.js --- a/web/cashtab/src/components/Send/SendToken.js +++ b/web/cashtab/src/components/Send/SendToken.js @@ -34,7 +34,7 @@ import BigNumber from 'bignumber.js'; import { currency, parseAddressForParams } from 'components/Common/Ticker.js'; import { Event } from 'utils/GoogleAnalytics'; -import { getWalletState, toLegacyToken } from 'utils/cashMethods'; +import { getWalletState } from 'utils/cashMethods'; import ApiError from 'components/Common/ApiError'; import { sendTokenNotification, @@ -185,9 +185,6 @@ // Clear params from address let cleanAddress = address.split('?')[0]; - // Convert to simpleledger prefix if etoken - cleanAddress = toLegacyToken(cleanAddress); - try { const link = await sendToken(bchObj, chronik, wallet, { tokenId: tokenId, diff --git a/web/cashtab/src/utils/cashMethods.js b/web/cashtab/src/utils/cashMethods.js --- a/web/cashtab/src/utils/cashMethods.js +++ b/web/cashtab/src/utils/cashMethods.js @@ -242,9 +242,7 @@ tokenAmount.toString(), ); script = opReturnObj.script; - destinationAddress = BCH.SLP.Address.toLegacyAddress( - tokenRecipientAddress, - ); + destinationAddress = tokenRecipientAddress; break; case 'BURN': script = generateBurnOpReturn(