mirror of
https://github.com/status-im/go-waku.git
synced 2025-02-03 01:14:01 +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
|
||||
}
|
||||
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
|
||||
failedOnceWritingENR := false
|
||||
couldWriteENRatLeastOnce := false
|
||||
|
Loading…
x
Reference in New Issue
Block a user