mirror of
https://github.com/logos-messaging/logos-messaging-go.git
synced 2026-01-03 22:43:09 +00:00
chore: fix lint error
This commit is contained in:
parent
66c5fe7d1d
commit
89ed41bab2
@ -52,8 +52,10 @@ func WithMultiaddress(multiaddrs ...multiaddr.Multiaddr) ENROption {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
tmpLocalnode := enode.NewLocalNode(tmpDb, privk)
|
tmpLocalnode := enode.NewLocalNode(tmpDb, privk)
|
||||||
tmpLocalnode.Node().UnmarshalText(b)
|
err = tmpLocalnode.Node().UnmarshalText(b)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
// Adding extra multiaddresses. Should probably not exceed the enr max size of 300bytes
|
// Adding extra multiaddresses. Should probably not exceed the enr max size of 300bytes
|
||||||
failedOnceWritingENR := false
|
failedOnceWritingENR := false
|
||||||
couldWriteENRatLeastOnce := false
|
couldWriteENRatLeastOnce := false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user