From 004563b20b7f3c3e066cb57d8244f271465ed857 Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Wed, 21 Feb 2018 10:05:04 +0100 Subject: [PATCH] channeldb: add todo making feerate explicit type --- channeldb/channel.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/channeldb/channel.go b/channeldb/channel.go index 151feabb6..234695961 100644 --- a/channeldb/channel.go +++ b/channeldb/channel.go @@ -249,6 +249,10 @@ type ChannelCommitment struct { // the commitment transaction for the entire duration of the channel's // lifetime. This field may be updated during normal operation of the // channel as on-chain conditions change. + // + // TODO(halseth): make this SatPerKWeight. Cannot be done atm because + // this will cause the import cycle lnwallet<->channeldb. Fee + // estimation stuff should be in its own package. FeePerKw btcutil.Amount // CommitTx is the latest version of the commitment state, broadcast