Update wallet.go
This commit is contained in:
parent
19fa5270d4
commit
7983f144f2
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue