mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-11 01:29:19 +01:00
lnd: add Commit hook for git hash -ldflag
This commit is contained in:
parent
e549a79eb3
commit
3d29e9dc66
1 changed files with 4 additions and 0 deletions
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…
Add table
Reference in a new issue