main+lnd: display build.Version() for commit hash
This commit is contained in:
3 files changed
+8
-7
No files matched your search
+2
-1
@@ -24,6 +24,7 @@ import (
|
||||
"github.com/btcsuite/btcwallet/waddrmgr"
|
||||
"github.com/coreos/bbolt"
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
"github.com/lightningnetwork/lnd/build"
|
||||
"github.com/lightningnetwork/lnd/channeldb"
|
||||
"github.com/lightningnetwork/lnd/htlcswitch"
|
||||
"github.com/lightningnetwork/lnd/lnrpc"
|
||||
@@ -1364,7 +1365,7 @@ func (r *rpcServer) GetInfo(ctx context.Context,
|
||||
Uris: uris,
|
||||
Alias: nodeAnn.Alias.String(),
|
||||
BestHeaderTimestamp: int64(bestHeaderTimestamp),
|
||||
Version: version(),
|
||||
Version: build.Version(),
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user