legacy: show capacity without millisat .000

This commit is contained in:
Carsten Otto
2022-06-02 13:11:54 +02:00
parent e9484006d4
commit c6a646bafc
2 changed files with 4 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ public class LegacyController {
Pubkey pubkey = localOpenChannel.getRemotePubkey();
return localOpenChannel.getId().getCompactForm() +
"\t" + pubkey +
"\t" + localOpenChannel.getCapacity() +
"\t" + localOpenChannel.getCapacity().toStringSat() +
"\t" + nodeService.getAlias(pubkey);
})
.collect(Collectors.joining(NEWLINE));