return the max
This commit is contained in:
parent
aa896fd444
commit
89e90d1ffc
|
@ -1040,7 +1040,7 @@ func readDiscoveryChainConfigEntriesTxn(
|
|||
}
|
||||
}
|
||||
|
||||
return idx, res, nil
|
||||
return maxIdx, res, nil
|
||||
}
|
||||
|
||||
// anyKey returns any key from the provided map if any exist. Useful for using
|
||||
|
|
Loading…
Reference in New Issue