filepath fix

This commit is contained in:
Daniel Whitenack 2016-07-08 12:36:28 -05:00
parent 8ac7e83305
commit 1be919efa8
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ import (
"errors"
"fmt"
"io/ioutil"
"path/filepath"
"time"
"github.com/ethereum/go-ethereum/accounts"
@ -24,7 +25,7 @@ func createAccount(password string) (string, string, error) {
if currentNode != nil {
w := true
keydir := datadir + "/keystore"
keydir := filepath.Join(datadir, "/keystore")
accman := accounts.NewManager(keydir, scryptN, scryptP, accountSync)
// generate the account