channeldb+routing: move control tower interface to routing

This commit creates an empty shall for control tower in the routing
package. It is a preparation for adding event notification.
This commit is contained in:
Joost Jager
2019-05-29 08:57:04 +02:00
parent eb700d35e1
commit 87d3207baf
6 changed files with 109 additions and 45 deletions

View File

@@ -182,7 +182,7 @@ type mockControlTower struct {
sync.Mutex
}
var _ channeldb.ControlTower = (*mockControlTower)(nil)
var _ ControlTower = (*mockControlTower)(nil)
func makeMockControlTower() *mockControlTower {
return &mockControlTower{