refactor: remove commented-out code in mockInterface to clean up interface_test.go
This commit is contained in:
@@ -183,7 +183,6 @@ func (m *mockInterface) Send(data []byte, addr string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Add other methods to satisfy the Interface interface (can be minimal/panic)
|
||||
func (m *mockInterface) GetType() common.InterfaceType { return common.IF_TYPE_NONE }
|
||||
func (m *mockInterface) GetMode() common.InterfaceMode { return common.IF_MODE_FULL }
|
||||
func (m *mockInterface) ProcessIncoming(data []byte) {}
|
||||
|
||||
Reference in New Issue
Block a user