lnd: add Commit hook for git hash -ldflag

This commit is contained in:
Conner Fromknecht 2018-03-28 14:09:42 -07:00
parent e549a79eb3
commit 3d29e9dc66
No known key found for this signature in database
GPG Key ID: 39DE78FBE6ACB0EF

4
lnd.go
View File

@ -57,6 +57,10 @@ const (
)
var (
//Commit stores the current commit hash of this build. This should be
//set using -ldflags during compilation.
Commit string
cfg *config
shutdownChannel = make(chan struct{})
registeredChains = newChainRegistry()