lnd: add Commit hook for git hash -ldflag
This commit is contained in:
parent
e549a79eb3
commit
3d29e9dc66
4
lnd.go
4
lnd.go
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user