Need a way to remove a trusted node!

This commit is contained in:
JoelKatz
2013-02-10 14:21:58 -08:00
parent 9a0970e6de
commit 470123dc26

View File

@@ -1465,6 +1465,7 @@ void UniqueNodeList::nodeRemovePublic(const RippleAddress& naNodePublic)
boost::recursive_mutex::scoped_lock sl(theApp->getWalletDB()->getDBLock());
db->executeSQL(str(boost::format("DELETE FROM SeedNodes WHERE PublicKey=%s") % sqlEscape(naNodePublic.humanNodePublic())));
db->executeSQL(str(boost::format("DELETE FROM TrustedNodes WHERE PublicKey=%s") % sqlEscape(naNodePublic.humanNodePublic())));
}
// YYY Only dirty on successful delete.