lhartikk / naivechain

A blockchain implementation in 200 lines of code
Apache License 2.0
5.28k stars 1.15k forks source link

Received blockchain is not longer than current Blockchain. Do Nothing #45

Open omonimus1 opened 3 years ago

omonimus1 commented 3 years ago
node2_1  | Received message{"type":2,"data":"[{\"index\":0,\"previousHash\":\"0\",\"timestamp\":1465154705,\"data\":\"my genesis block!!\",\"hash\":\"816534932c2b7154836da6afc367695e6337db8a921823784c14378abed4f7d7\"}]"}
node2_1  | received blockchain is not longer than current blockchain. Do nothing
node3_1  | Received message{"type":2,"data":"[{\"index\":0,\"previousHash\":\"0\",\"timestamp\":1465154705,\"data\":\"my genesis block!!\",\"hash\":\"816534932c2b7154836da6afc367695e6337db8a921823784c14378abed4f7d7\"}]"}
node3_1  | received blockchain is not longer than current blockchain. Do nothing

I keep having this message when running the project, can anyone please exaplain me how to fix it?