chain: the default minHTLC policy is now 1

This commit is contained in:
Olaoluwa Osuntokun 2017-11-30 22:54:17 -08:00
parent 9314aa2e7d
commit 4d6cd2ee36
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

View File

@ -30,7 +30,7 @@ import (
// defaultBitcoinForwardingPolicy is the default forwarding policy used for
// Bitcoin channels.
var defaultBitcoinForwardingPolicy = htlcswitch.ForwardingPolicy{
MinHTLC: 0,
MinHTLC: 1,
BaseFee: lnwire.NewMSatFromSatoshis(1),
FeeRate: 1,
TimeLockDelta: 144,
@ -39,7 +39,7 @@ var defaultBitcoinForwardingPolicy = htlcswitch.ForwardingPolicy{
// defaultLitecoinForwardingPolicy is the default forwarding policy used for
// Litecoin channels.
var defaultLitecoinForwardingPolicy = htlcswitch.ForwardingPolicy{
MinHTLC: 0,
MinHTLC: 1,
BaseFee: 1,
FeeRate: 1,
TimeLockDelta: 576,