diff --git a/lnd.go b/lnd.go index 9a0e1e710..11c77bdd5 100644 --- a/lnd.go +++ b/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()