good to be back cleaning up

pull/75/head
alok 6 years ago
parent b77dd1a7cb
commit dc6eb25538
  1. 2
      identitychain/identitychain_handler.go

@ -107,8 +107,6 @@ func (IDC *IdentityChain) acceptNewConnection(msgPayload []byte) {
challengeNonce := int((rnd.Int31())) challengeNonce := int((rnd.Int31()))
req := pow.NewRequest(5, []byte(strconv.Itoa(challengeNonce))) req := pow.NewRequest(5, []byte(strconv.Itoa(challengeNonce)))
IDC.PowMap[Node.Self] = req IDC.PowMap[Node.Self] = req
fmt.Println(Node.Self)
fmt.Println(req)
buffer.Write([]byte(req)) buffer.Write([]byte(req))
// 32 byte block hash // 32 byte block hash
// buffer.Write(prevBlockHash) // buffer.Write(prevBlockHash)

Loading…
Cancel
Save