mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-12 02:08:25 +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 (
|
var (
|
||||||
|
//Commit stores the current commit hash of this build. This should be
|
||||||
|
//set using -ldflags during compilation.
|
||||||
|
Commit string
|
||||||
|
|
||||||
cfg *config
|
cfg *config
|
||||||
shutdownChannel = make(chan struct{})
|
shutdownChannel = make(chan struct{})
|
||||||
registeredChains = newChainRegistry()
|
registeredChains = newChainRegistry()
|
||||||
|
|
Loading…
Add table
Reference in a new issue