@exromany/lido-csm-sdk
Version:
[](https://github.com/lidofinance/lido-csm-sdk/blob/main/LICENSE.txt) [](h
8 lines • 333 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.findKeyInterval = void 0;
const findKeyInterval = (keyIndex, intervals) => {
return intervals.findLast((interval) => keyIndex >= interval.minKeyNumber);
};
exports.findKeyInterval = findKeyInterval;
//# sourceMappingURL=find-key-interval.js.map