mirror of
https://github.com/aljazceru/lnd-manageJ.git
synced 2026-01-21 23:14:27 +01:00
persist completed payments
This commit is contained in:
@@ -73,7 +73,7 @@ public class NodeController {
|
||||
toSortedList(channelService.getWaitingCloseChannelsWith(pubkey)),
|
||||
toSortedList(channelService.getForceClosingChannelsWith(pubkey)),
|
||||
new OnChainCostsDto(openCosts, closeCosts),
|
||||
BalanceInformationDto.createFrom(balanceInformation),
|
||||
BalanceInformationDto.createFromModel(balanceInformation),
|
||||
node.online(),
|
||||
getFeeReportDto(pubkey)
|
||||
);
|
||||
@@ -96,7 +96,7 @@ public class NodeController {
|
||||
@Timed
|
||||
@GetMapping("/balance")
|
||||
public BalanceInformationDto getBalance(@PathVariable Pubkey pubkey) {
|
||||
return BalanceInformationDto.createFrom(balanceService.getBalanceInformationForPeer(pubkey));
|
||||
return BalanceInformationDto.createFromModel(balanceService.getBalanceInformationForPeer(pubkey));
|
||||
}
|
||||
|
||||
@Timed
|
||||
@@ -106,7 +106,7 @@ public class NodeController {
|
||||
}
|
||||
|
||||
private FeeReportDto getFeeReportDto(Pubkey pubkey) {
|
||||
return FeeReportDto.createFrom(feeService.getFeeReportForPeer(pubkey));
|
||||
return FeeReportDto.createFromModel(feeService.getFeeReportForPeer(pubkey));
|
||||
}
|
||||
|
||||
private List<ChannelId> toSortedList(Set<? extends Channel> channels) {
|
||||
|
||||
Reference in New Issue
Block a user