autopilot: remove unimpleneted SpliceIn/Out methods

This commit is contained in:
Johan T. Halseth committed 2020-10-05 12:16:50 +02:00
1 parent 392d6ccc9f
commit 3e1755ee99
3 files changed
-34

No files matched your search

-8
View File
@@ -124,14 +124,6 @@ func (c *chanController) OpenChannel(target *btcec.PublicKey,
func (c *chanController) CloseChannel(chanPoint *wire.OutPoint) error {
return nil
}
func (c *chanController) SpliceIn(chanPoint *wire.OutPoint,
amt btcutil.Amount) (*autopilot.Channel, error) {
return nil, nil
}
func (c *chanController) SpliceOut(chanPoint *wire.OutPoint,
amt btcutil.Amount) (*autopilot.Channel, error) {
return nil, nil
}
// A compile time assertion to ensure chanController meets the
// autopilot.ChannelController interface.