1
0

lnworker/swaps: add '_sat' suffix to arg names and force kwargs

This commit is contained in:
SomberNight
2021-02-01 22:11:56 +01:00
parent 3d1796ab1d
commit 337d4890a1
6 changed files with 64 additions and 24 deletions

View File

@@ -163,7 +163,7 @@ class FeeUpdate(StoredObject):
@attr.s
class ChannelConstraints(StoredObject):
capacity = attr.ib(type=int)
capacity = attr.ib(type=int) # in sat
is_initiator = attr.ib(type=bool) # note: sometimes also called "funder"
funding_txn_minimum_depth = attr.ib(type=int)