remove lnwallet unlock in lnd.go it's handled in NewLightningWallet

This commit is contained in:
Olaoluwa Osuntokun 2016-02-03 16:35:17 -08:00
parent 1a8ae48807
commit d1ec44c16d
1 changed files with 0 additions and 2 deletions

2
lnd.go
View File

@ -7,7 +7,6 @@ import (
"net/http"
_ "net/http/pprof"
"os"
"time"
"google.golang.org/grpc"
"google.golang.org/grpc/grpclog"
@ -57,7 +56,6 @@ func main() {
os.Exit(1)
}
lnwallet.Unlock(config.PrivatePass, time.Duration(0))
fmt.Println("wallet open")
defer db.Close()