From 5fa345310b59bc86340908cddd9bc1d73dae4f50 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 21 Aug 2017 23:14:25 -0700 Subject: [PATCH] chain: set default fees to min possible --- chainregistry.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chainregistry.go b/chainregistry.go index 887bd3db..5af8399a 100644 --- a/chainregistry.go +++ b/chainregistry.go @@ -18,6 +18,7 @@ import ( "github.com/lightningnetwork/lnd/htlcswitch" "github.com/lightningnetwork/lnd/lnwallet" "github.com/lightningnetwork/lnd/lnwallet/btcwallet" + "github.com/lightningnetwork/lnd/lnwire" "github.com/lightningnetwork/lnd/routing/chainview" "github.com/roasbeef/btcd/chaincfg/chainhash" "github.com/roasbeef/btcrpcclient" @@ -29,7 +30,7 @@ import ( // Bitcoin channels. var defaultBitcoinForwardingPolicy = htlcswitch.ForwardingPolicy{ MinHTLC: 0, - BaseFee: 1, + BaseFee: lnwire.NewMSatFromSatoshis(1), FeeRate: 1, TimeLockDelta: 144, }