remove lnwallet unlock in lnd.go it's handled in NewLightningWallet
This commit is contained in:
1 parent
1a8ae48807
commit
d1ec44c16d
1 file changed
-2
@@ -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()
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user