mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-31 17:51:33 +02:00
autopilot: remove unimpleneted SpliceIn/Out methods
This commit is contained in:
@@ -139,14 +139,6 @@ func (m *mockChanController) OpenChannel(target *btcec.PublicKey,
|
||||
func (m *mockChanController) CloseChannel(chanPoint *wire.OutPoint) error {
|
||||
return nil
|
||||
}
|
||||
func (m *mockChanController) SpliceIn(chanPoint *wire.OutPoint,
|
||||
amt btcutil.Amount) (*Channel, error) {
|
||||
return nil, nil
|
||||
}
|
||||
func (m *mockChanController) SpliceOut(chanPoint *wire.OutPoint,
|
||||
amt btcutil.Amount) (*Channel, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
var _ ChannelController = (*mockChanController)(nil)
|
||||
|
||||
@@ -391,14 +383,6 @@ func (m *mockFailingChanController) OpenChannel(target *btcec.PublicKey,
|
||||
func (m *mockFailingChanController) CloseChannel(chanPoint *wire.OutPoint) error {
|
||||
return nil
|
||||
}
|
||||
func (m *mockFailingChanController) SpliceIn(chanPoint *wire.OutPoint,
|
||||
amt btcutil.Amount) (*Channel, error) {
|
||||
return nil, nil
|
||||
}
|
||||
func (m *mockFailingChanController) SpliceOut(chanPoint *wire.OutPoint,
|
||||
amt btcutil.Amount) (*Channel, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
var _ ChannelController = (*mockFailingChanController)(nil)
|
||||
|
||||
|
Reference in New Issue
Block a user