mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +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();
|
Database* db=theApp->getWalletDB()->getDB();
|
||||||
ScopedLock sl(theApp->getWalletDB()->getDBLock());
|
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.
|
// YYY Only dirty on successful delete.
|
||||||
|
|||||||
Reference in New Issue
Block a user