forked from cerc-io/laconic-wallet
Create addAccount function
This commit is contained in:
parent
894829dd9d
commit
5df584b750
2
utils.ts
2
utils.ts
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user