mirror of
https://github.com/arnaucube/blockchainIDsystem.git
synced 2026-02-07 11:06:41 +01:00
Implemented signup and login users with JWT and MongoDB connection. Added runTmuxTextPeers.sh to deploy the different peers and servers in a unique console
This commit is contained in:
@@ -68,7 +68,9 @@ func reconstructBlockchainFromBlock(urlAPI string, h string) {
|
||||
var err error
|
||||
|
||||
block, err = blockchain.getBlockByHash(h)
|
||||
check(err)
|
||||
if err != nil {
|
||||
fmt.Println("reconstructBlockFromBlock: block with " + h + " not found. Getting genesis block")
|
||||
}
|
||||
|
||||
if h == "" {
|
||||
//no genesis block yet
|
||||
|
||||
Reference in New Issue
Block a user