mirror of
https://github.com/ACINQ/eclair.git
synced 2025-02-22 14:22:39 +01:00
parent
08f1c893ff
commit
96e0d8f88b
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ object Transactions {
|
|||
val claimHtlcDelayedWeight = 482
|
||||
val mainPunishmentWeight = 483
|
||||
|
||||
def weight2fee(feeRatePerKw: Long, weight: Int) = Satoshi((feeRatePerKw * weight) / 1024)
|
||||
def weight2fee(feeRatePerKw: Long, weight: Int) = Satoshi((feeRatePerKw * weight) / 1000)
|
||||
|
||||
def commitTxFee(feeRatePerKw: Long, dustLimit: Satoshi, spec: CommitmentSpec): Satoshi = {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue