mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-19 08:08:38 +02:00
Mitigate target_height attack
This commit is contained in:
@@ -97,7 +97,7 @@ QVariant NodeModel::headerData(int section, Qt::Orientation orientation, int rol
|
||||
FeatherNode NodeModel::node(int row) {
|
||||
if (row < 0 || row >= m_nodes.size()) {
|
||||
qCritical("%s: no reddit post for index %d", __FUNCTION__, row);
|
||||
return FeatherNode("", 0, false);
|
||||
return FeatherNode();
|
||||
}
|
||||
return m_nodes.at(row);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user