remove lnwallet unlock in lnd.go it's handled in NewLightningWallet
This commit is contained in:
parent
1a8ae48807
commit
d1ec44c16d
2
lnd.go
2
lnd.go
@ -7,7 +7,6 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
_ "net/http/pprof"
|
_ "net/http/pprof"
|
||||||
"os"
|
"os"
|
||||||
"time"
|
|
||||||
|
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
"google.golang.org/grpc/grpclog"
|
"google.golang.org/grpc/grpclog"
|
||||||
@ -57,7 +56,6 @@ func main() {
|
|||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
lnwallet.Unlock(config.PrivatePass, time.Duration(0))
|
|
||||||
fmt.Println("wallet open")
|
fmt.Println("wallet open")
|
||||||
defer db.Close()
|
defer db.Close()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user