Skip to content

Commit

Permalink
clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeBoy committed Apr 3, 2024
1 parent 96eff21 commit 3637ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libwallet/assets/wallet/wallet_shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ func CreateNewWallet(pass *AuthInfo, loader loader.AssetLoader,
params *InitParams, assetType utils.AssetType,
) (*Wallet, error) {
if pass.WordSeedType.ToInt() == 0 {
return nil, errors.New("please select word seed type.")
return nil, errors.New("please select word seed type")
}

seed, err := generateSeed(assetType, pass.WordSeedType)
Expand Down

0 comments on commit 3637ab3

Please sign in to comment.