Removed uuid shadowing

This commit is contained in:
Samuel Hawksby-Robinson 2024-03-19 13:05:25 +00:00
parent b1897d158b
commit 5dba9833dd
1 changed files with 1 additions and 3 deletions

View File

@ -89,10 +89,8 @@ func (o *Onboarding) generateAccount(mnemonicPhraseLength int) (*OnboardingAccou
ChatPubKey: walletPubKey, ChatPubKey: walletPubKey,
} }
uuid := uuid.NewRandom().String()
account := &OnboardingAccount{ account := &OnboardingAccount{
ID: uuid, ID: uuid.NewRandom().String(),
mnemonic: mnemonicPhrase, mnemonic: mnemonicPhrase,
Info: info, Info: info,
} }