We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a59081 commit 00a8a39Copy full SHA for 00a8a39
frdrpcserver/rpcserver.go
@@ -327,13 +327,13 @@ func (s *RPCServer) Start() error {
327
// for REST (if enabled), instead of creating an own mux and HTTP server, we
328
// register to an existing one.
329
func (s *RPCServer) StartAsSubserver(lndClient lndclient.LndServices,
330
- createDefaultMacaroonFile bool) error {
+ withMacaroonService bool) error {
331
332
if atomic.AddInt32(&s.started, 1) != 1 {
333
return errServerAlreadyStarted
334
}
335
336
- if createDefaultMacaroonFile {
+ if withMacaroonService {
337
// Start the macaroon service and let it create its default
338
// macaroon in case it doesn't exist yet.
339
if err := s.macaroonService.Start(); err != nil {
0 commit comments