mirror of
https://github.com/aljazceru/lnd-manageJ.git
synced 2026-01-24 16:34:19 +01:00
do not return duplicate pubkeys
This commit is contained in:
@@ -48,6 +48,7 @@ public class LegacyController {
|
||||
.map(LocalChannel::getRemotePubkey)
|
||||
.map(Pubkey::toString)
|
||||
.sorted()
|
||||
.distinct()
|
||||
.collect(Collectors.joining(NEWLINE));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user