add "sourced" fees to fee report

This commit is contained in:
Carsten Otto
2021-11-30 13:26:41 +01:00
parent 75b17b6072
commit beca0a2aaa
14 changed files with 111 additions and 18 deletions

View File

@@ -110,7 +110,7 @@ public class NodeController {
}
private FeeReportDto getFeeReportDto(Pubkey pubkey) {
return new FeeReportDto(feeService.getEarnedFeesForPeer(pubkey));
return new FeeReportDto(feeService.getEarnedFeesForPeer(pubkey), feeService.getSourcedFeesForPeer(pubkey));
}
private List<ChannelId> toSortedList(Set<? extends Channel> channels) {