mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Inject Config:
* Use dependency injections instead * Remove deprecated fee interfaces
This commit is contained in:
committed by
Vinnie Falco
parent
c7b3153958
commit
fa796a2eb5
@@ -1051,7 +1051,7 @@ PeerImp::onMessage (std::shared_ptr <protocol::TMTransaction> const& m)
|
||||
flags |= SF_TRUSTED;
|
||||
}
|
||||
|
||||
if (! getConfig().VALIDATION_PRIV.isSet())
|
||||
if (! app_.config().VALIDATION_PRIV.isSet())
|
||||
{
|
||||
// For now, be paranoid and have each validator
|
||||
// check each transaction, regardless of source
|
||||
@@ -1208,7 +1208,7 @@ PeerImp::onMessage (std::shared_ptr <protocol::TMProposeSet> const& m)
|
||||
RippleAddress signerPublic = RippleAddress::createNodePublic (
|
||||
strCopy (set.nodepubkey ()));
|
||||
|
||||
if (signerPublic == getConfig ().VALIDATION_PUB)
|
||||
if (signerPublic == app_.config().VALIDATION_PUB)
|
||||
{
|
||||
p_journal_.trace << "Proposal: self";
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user