Contract id mismatch log message. (#227)

* Added contract id mismatch log.
* Added individual docker image run script.
This commit is contained in:
Ravin Perera
2021-01-22 16:36:34 +05:30
committed by GitHub
parent 610b67cec0
commit 70493d827d
3 changed files with 33 additions and 2 deletions

View File

@@ -104,7 +104,10 @@ namespace p2p
// Check whether contract ids match.
if (chall.contract_id != conf::cfg.contract.id)
{
LOG_ERROR << "Contract id mismatch. Dropping connection " << session.display_name();
return -1;
}
// Sending the challenge response to the sender.
flatbuffers::FlatBufferBuilder fbuf(1024);