mirror of
https://github.com/status-im/go-waku.git
synced 2025-02-13 05:56:48 +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