diff --git a/idea/frontend/src/hooks/useBalanceTransfer.ts b/idea/frontend/src/hooks/useBalanceTransfer.ts index 85be376b19..39c7a445e6 100644 --- a/idea/frontend/src/hooks/useBalanceTransfer.ts +++ b/idea/frontend/src/hooks/useBalanceTransfer.ts @@ -40,8 +40,9 @@ const useBalanceTransfer = () => { const { signSource, keepAlive, onSuccess } = options || {}; - // TODO: replace to api.balance.transfer after api update to support string value - const extrinsic = keepAlive ? api.tx.balances.transferKeepAlive(to, value) : api.tx.balances.transfer(to, value); + const extrinsic = keepAlive + ? api.tx.balances.transferKeepAlive(to, value) + : api.tx.balances.transferAllowDeath(to, value); if (signSource) { web3FromSource(signSource).then(({ signer }) =>