mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 22:15:52 +00:00
Fix unquoted string when calling unl_delete.
This commit is contained in:
@@ -1422,7 +1422,7 @@ void UniqueNodeList::nodeRemovePublic(const RippleAddress& naNodePublic)
|
||||
Database* db=theApp->getWalletDB()->getDB();
|
||||
ScopedLock sl(theApp->getWalletDB()->getDBLock());
|
||||
|
||||
db->executeSQL(str(boost::format("DELETE FROM SeedNodes WHERE PublicKey=%s") % naNodePublic.humanNodePublic()));
|
||||
db->executeSQL(str(boost::format("DELETE FROM SeedNodes WHERE PublicKey=%s") % sqlEscape(naNodePublic.humanNodePublic())));
|
||||
}
|
||||
|
||||
// YYY Only dirty on successful delete.
|
||||
|
||||
Reference in New Issue
Block a user