[#1598] golangci: Enable unconvert linters
To drop unnecessary conversions. Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
a9f27e074b
commit
4d5ae59a52
13 changed files with 17 additions and 16 deletions
|
@ -41,7 +41,7 @@ func ParseNewEpoch(e *state.ContainedNotificationEvent) (event.Event, error) {
|
|||
}
|
||||
|
||||
return NewEpoch{
|
||||
Num: uint64(nee.Epoch.Uint64()),
|
||||
Num: nee.Epoch.Uint64(),
|
||||
Hash: e.Container,
|
||||
}, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue