lnd: add Commit hook for git hash -ldflag
This commit is contained in:
1 file changed
+4
@@ -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()
|
||||||
|
|||||||
Reference in new issue
Block a user