mirror of
https://github.com/logos-messaging/logos-messaging-go-bindings.git
synced 2026-01-04 06:53:11 +00:00
applying feedback
This commit is contained in:
parent
89d82d6ffb
commit
db40f1c5be
@ -730,7 +730,7 @@ func (n *WakuNode) RelaySubscribe(pubsubTopic string) error {
|
|||||||
|
|
||||||
func (n *WakuNode) RelayAddProtectedShard(clusterId uint16, shardId uint16, pubkey *ecdsa.PublicKey) error {
|
func (n *WakuNode) RelayAddProtectedShard(clusterId uint16, shardId uint16, pubkey *ecdsa.PublicKey) error {
|
||||||
if pubkey == nil {
|
if pubkey == nil {
|
||||||
return nil // Nothing to do here
|
return errors.New("error WakuRelayAddProtectedShard: pubkey can't be nil")
|
||||||
}
|
}
|
||||||
|
|
||||||
keyHexStr := hex.EncodeToString(crypto.FromECDSAPub(pubkey))
|
keyHexStr := hex.EncodeToString(crypto.FromECDSAPub(pubkey))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user