Skip to content

Commit c4562cb

Browse files
committed
perms: remove dead code
1 parent f316bfe commit c4562cb

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

perms/manager.go

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -292,27 +292,3 @@ func (pm *Manager) isLndURI(uri string) bool {
292292
_, lndCall := pm.fixedPerms[lndPerms][uri]
293293
return lndCall || lndSubServerCall
294294
}
295-
296-
// IsLoopURI returns true if the given URI belongs to an RPC of loopd.
297-
func (pm *Manager) IsLoopURI(uri string) bool {
298-
_, ok := pm.fixedPerms[loopPerms][uri]
299-
return ok
300-
}
301-
302-
// IsFaradayURI returns true if the given URI belongs to an RPC of faraday.
303-
func (pm *Manager) IsFaradayURI(uri string) bool {
304-
_, ok := pm.fixedPerms[faradayPerms][uri]
305-
return ok
306-
}
307-
308-
// IsPoolURI returns true if the given URI belongs to an RPC of poold.
309-
func (pm *Manager) IsPoolURI(uri string) bool {
310-
_, ok := pm.fixedPerms[poolPerms][uri]
311-
return ok
312-
}
313-
314-
// IsLitURI returns true if the given URI belongs to an RPC of LiT.
315-
func (pm *Manager) IsLitURI(uri string) bool {
316-
_, ok := pm.fixedPerms[litPerms][uri]
317-
return ok
318-
}

0 commit comments

Comments
 (0)