mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-09 12:22:38 +01:00
multi: remove dead code
This commit is contained in:
@@ -324,21 +324,6 @@ type testChannelEnd struct {
|
||||
*testChannelPolicy
|
||||
}
|
||||
|
||||
func defaultTestChannelEnd(alias string, capacity btcutil.Amount) *testChannelEnd {
|
||||
return &testChannelEnd{
|
||||
Alias: alias,
|
||||
testChannelPolicy: &testChannelPolicy{
|
||||
Expiry: 144,
|
||||
MinHTLC: lnwire.MilliSatoshi(1000),
|
||||
MaxHTLC: lnwire.NewMSatFromSatoshis(capacity),
|
||||
FeeBaseMsat: lnwire.MilliSatoshi(1000),
|
||||
FeeRate: lnwire.MilliSatoshi(1),
|
||||
LastUpdate: testTime,
|
||||
Disabled: false,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
func symmetricTestChannel(alias1 string, alias2 string, capacity btcutil.Amount,
|
||||
policy *testChannelPolicy, chanID ...uint64) *testChannel {
|
||||
|
||||
@@ -1675,13 +1660,6 @@ func TestPathFindSpecExample(t *testing.T) {
|
||||
}
|
||||
defer cleanUp()
|
||||
|
||||
const (
|
||||
aliceFinalCLTV = 10
|
||||
bobFinalCLTV = 20
|
||||
carolFinalCLTV = 30
|
||||
daveFinalCLTV = 40
|
||||
)
|
||||
|
||||
// We'll first exercise the scenario of a direct payment from Bob to
|
||||
// Carol, so we set "B" as the source node so path finding starts from
|
||||
// Bob.
|
||||
|
||||
Reference in New Issue
Block a user