throw new Error('Confirmed frontier block info subtype not found')
}
const confirmedFrontierSubtype = resConfirmedFrontierBlockInfo.subtype
- if (!('contents' in resConfirmedFrontierBlockInfo) || resConfirmedFrontierBlockInfo.contents == null || !(typeof resConfirmedFrontierBlockInfo.contents !== 'object')) {
+ if (!('contents' in resConfirmedFrontierBlockInfo) || resConfirmedFrontierBlockInfo.contents == null || typeof resConfirmedFrontierBlockInfo.contents !== 'object') {
throw new Error('Confirmed frontier block info contents not found')
}
const confirmedFrontierContents: Record<string, string> = {}
throw new Error('Frontier block info subtype not found')
}
const frontierSubtype = resFrontierBlockInfo.subtype
- if (!('contents' in resFrontierBlockInfo) || resFrontierBlockInfo.contents == null || !(typeof resFrontierBlockInfo.contents !== 'object')) {
+ if (!('contents' in resFrontierBlockInfo) || resFrontierBlockInfo.contents == null || typeof resFrontierBlockInfo.contents !== 'object') {
throw new Error('Frontier block info contents not found')
}
const frontierContents: Record<string, string> = {}