mirror of
https://github.com/logos-messaging/logos-messaging-go.git
synced 2026-01-02 22:13:06 +00:00
Fix: gob: type not registered for interface: network.Direction
This commit is contained in:
parent
94ecfea860
commit
f20eeec0cc
@ -168,7 +168,7 @@ func (ps *WakuPeerstoreImpl) Direction(p peer.ID) (network.Direction, error) {
|
||||
return network.DirUnknown, err
|
||||
}
|
||||
|
||||
return result.(network.Direction), nil
|
||||
return network.Direction(result.(int)), nil
|
||||
}
|
||||
|
||||
// AddPubSubTopic adds a new pubSubTopic for a peer
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user