diff --git a/src/LedgerConsensus.cpp b/src/LedgerConsensus.cpp index 3159da6fbc..7c84b258cf 100644 --- a/src/LedgerConsensus.cpp +++ b/src/LedgerConsensus.cpp @@ -807,8 +807,11 @@ void LedgerConsensus::accept(SHAMap::pointer set) } #endif - SerializedValidation v(newLCLHash, mOurPosition->peekSeed(), true); - std::vector validation = v.getSigned(); + SerializedValidation::pointer v = boost::make_shared + (newLCLHash, mOurPosition->peekSeed(), true); + v->setTrusted(); + 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));