Create addAccount function

This commit is contained in:
IshaVenikar 2024-02-15 13:49:43 +05:30
parent 894829dd9d
commit 5df584b750

View File

@ -122,7 +122,7 @@ const addAccount = async (network: string): Promise<Account | undefined> => {
indices, indices,
); );
return { pubKey, address, id }; return { id, pubKey, address };
} catch (error) { } catch (error) {
console.error('Error creating account:', error); console.error('Error creating account:', error);
} }