function toCoreRetryOptions()

in src/coreApi/converters/toCoreFunctionMetadata.ts [79:91]


function toCoreRetryOptions(
    data: rpc.IRpcRetryOptions | null | undefined
): coreTypes.RpcRetryOptions | null | undefined {
    if (data) {
        const result = {
            ...data,
            retryStrategy: toCoreRetryStrategy(data.retryStrategy),
        };
        return ensureKeysMatch(data, result);
    } else {
        return data;
    }
}