Update wallet.go

This commit is contained in:
NikitaR13 2025-01-23 15:35:40 +03:00 committed by GitHub
parent 19fa5270d4
commit 7983f144f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,13 +6,10 @@ import (
"github.com/nspcc-dev/neo-go/pkg/wallet"
)
// Пример если нужно создавать/импортировать кошельки из seed-фразы.
// Здесь упрощённая заготовка.
func CreateNewWallet(path, password string) error {
w, err := wallet.NewWallet(path)
if err != nil {
return fmt.Errorf("wallet new: %w", err)
}
// ...
return nil
}