cleanup
This commit is contained in:
parent
1418db224e
commit
6985f51d99
1 changed files with 0 additions and 4 deletions
|
|
@ -346,10 +346,6 @@ export default class {
|
||||||
return Math.ceil(amount * this.getSettings().lndSettings.feeRateLimit + this.getSettings().lndSettings.feeFixedLimit);
|
return Math.ceil(amount * this.getSettings().lndSettings.feeRateLimit + this.getSettings().lndSettings.feeFixedLimit);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* GetMaxWithinLimit(amount: number): number {
|
|
||||||
return Math.max(0, Math.floor(amount * (1 - this.getSettings().lndSettings.feeRateLimit) - this.getSettings().lndSettings.feeFixedLimit))
|
|
||||||
} */
|
|
||||||
|
|
||||||
async ChannelBalance(): Promise<{ local: number, remote: number }> {
|
async ChannelBalance(): Promise<{ local: number, remote: number }> {
|
||||||
// console.log("Getting channel balance")
|
// console.log("Getting channel balance")
|
||||||
const res = await this.lightning.channelBalance({})
|
const res = await this.lightning.channelBalance({})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue