mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Use whitelist.
This commit is contained in:
@@ -48,7 +48,7 @@ public:
|
||||
boost::mutex::scoped_lock sl(mMutex);
|
||||
|
||||
iBlackList* e = findEntry(source, true);
|
||||
return e ? (e->mBalance <= (mCreditLimit * mDecaySeconds)) : true;
|
||||
return (e == NULL) || (e->mBalance <= (mCreditLimit * mDecaySeconds)) || isWhiteList(source);
|
||||
}
|
||||
|
||||
// Clean up stale entries
|
||||
|
||||
Reference in New Issue
Block a user