fix: add hops parameter to ReceivedAnnounce method for enhanced announce handling

This commit is contained in:
2025-12-31 18:41:44 -06:00
parent bc44ed2aaa
commit e6fd7188d2

View File

@@ -17,7 +17,7 @@ func (m *mockAnnounceHandler) AspectFilter() []string {
return nil
}
func (m *mockAnnounceHandler) ReceivedAnnounce(destinationHash []byte, announcedIdentity interface{}, appData []byte) error {
func (m *mockAnnounceHandler) ReceivedAnnounce(destinationHash []byte, announcedIdentity interface{}, appData []byte, hops uint8) error {
m.received = true
return nil
}