diff --git a/src/LedgerConsensus.cpp b/src/LedgerConsensus.cpp index 9b12539bea..fc18926b48 100644 --- a/src/LedgerConsensus.cpp +++ b/src/LedgerConsensus.cpp @@ -1114,12 +1114,13 @@ void LedgerConsensus::accept(SHAMap::ref set) SerializedValidation::pointer v = boost::make_shared (newLCLHash, theApp->getOPs().getValidationTimeNC(), mValSeed, mProposing); v->setTrusted(); - Log(lsINFO) << "CNF Val " << newLCLHash; theApp->getValidations().addValidation(v); std::vector validation = v->getSigned(); newcoin::TMValidation val; val.set_validation(&validation[0], validation.size()); - theApp->getConnectionPool().relayMessage(NULL, boost::make_shared(val, newcoin::mtVALIDATION)); + int j = theApp->getConnectionPool().relayMessage(NULL, + boost::make_shared(val, newcoin::mtVALIDATION)); + Log(lsINFO) << "CNF Val " << newLCLHash << " to " << j << " peers"; } else Log(lsINFO) << "CNF newLCL " << newLCLHash;