Fix the NYX accout creation

This commit is contained in:
2025-06-28 18:21:15 +05:30
parent fc90fa49bb
commit 710593fc30
2 changed files with 3 additions and 5 deletions
+2 -4
View File
@@ -16,16 +16,14 @@ export const useWebViewHandler = () => {
const { selectedNetwork } = useNetworks();
const { accounts, currentIndex } = useAccounts();
const { getAccountsData } = useAccountsData();
// Initialize accounts
const { getOrCreateAccountsForChain } = useGetOrCreateAccounts();
// Initialize accounts
const handleGetOrCreateAccount = useCallback(async (chainId: string) => {
try {
await getOrCreateAccountsForChain(chainId);
const accountsData = await getOrCreateAccountsForChain(chainId);
let accountsData = await getAccountsData(chainId);
if (!accountsData || accountsData.length === 0) {
window.Android?.onAccountError?.('Failed to create/retrieve account');
+1 -1
View File
@@ -372,7 +372,7 @@ const ApproveTransfer = ({ route }: ApproveTransferProps) => {
gas: cosmosGasLimit,
},
sendMsg,
memo: MEMO,
memo: txMemo,
};
break;
default: