File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,7 @@ package loop
2
2
3
3
import (
4
4
"context"
5
- "encoding/hex"
6
5
"errors"
7
- "fmt"
8
6
"strings"
9
7
"sync"
10
8
"sync/atomic"
@@ -211,13 +209,9 @@ func (s *Client) Run(ctx context.Context,
211
209
}
212
210
213
211
// Log connected node.
214
- info , err := s .lndServices .Client .GetInfo (ctx )
215
- if err != nil {
216
- return fmt .Errorf ("GetInfo error: %v" , err )
217
- }
218
- log .Infof ("Connected to lnd node %v with pubkey %v" ,
219
- info .Alias , hex .EncodeToString (info .IdentityPubkey [:]),
220
- )
212
+ log .Infof ("Connected to lnd node '%v' with pubkey %x (version %s)" ,
213
+ s .lndServices .NodeAlias , s .lndServices .NodePubkey ,
214
+ lndclient .VersionString (s .lndServices .Version ))
221
215
222
216
// Setup main context used for cancelation.
223
217
mainCtx , mainCancel := context .WithCancel (ctx )
You can’t perform that action at this time.
0 commit comments