[#1687] *: Perform go fmt
using go v1.19
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
37ab26bfa9
commit
30341f2192
25 changed files with 114 additions and 112 deletions
|
@ -70,9 +70,9 @@ func (c *cleanupTable) update(snapshot netmap.NetMap, now uint64) {
|
|||
// updates last access time of the netmap node by string public key.
|
||||
//
|
||||
// Returns true if at least one condition is met:
|
||||
// * node hasn't been accessed yet;
|
||||
// * remove flag is set;
|
||||
// * binary node info has changed.
|
||||
// - node hasn't been accessed yet;
|
||||
// - remove flag is set;
|
||||
// - binary node info has changed.
|
||||
func (c *cleanupTable) touch(keyString string, now uint64, binNodeInfo []byte) bool {
|
||||
c.Lock()
|
||||
defer c.Unlock()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue