src/simulation/index.ts
Function createBlockfromJson
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public createBlockfromJson(boundWitness: {
[key: string]: any
}): XyoZigZagBoundWitness | undefined {
const allKeys = Object.keys(boundWitness)
if (allKeys.length > 2 || allKeys.length === 0) {