mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
cmd/devp2p: fix linter error
This commit is contained in:
parent
c968b61b66
commit
00f4484df5
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ func dnsSign(ctx *cli.Context) error {
|
|||
domain = ctx.String(dnsDomainFlag.Name)
|
||||
}
|
||||
if ctx.IsSet(dnsSeqFlag.Name) {
|
||||
def.Meta.Seq = uint(ctx.Uint(dnsSeqFlag.Name))
|
||||
def.Meta.Seq = ctx.Uint(dnsSeqFlag.Name)
|
||||
} else {
|
||||
def.Meta.Seq++ // Auto-bump sequence number if not supplied via flag.
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue