Open tiendq opened 6 years ago
Why not just comparing hashes instead of stringified objects?
isValidGenesis
const isValidGenesis = (block: Block): boolean => { return JSON.stringify(block) === JSON.stringify(genesisBlock); };
Why not just comparing hashes instead of stringified objects?
isValidGenesis