Mitigate target_height attack

This commit is contained in:
tobtoht
2020-11-14 22:42:41 +01:00
parent d2d3978de6
commit d9dfef021f
6 changed files with 25 additions and 15 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ bool NetworkPage::validatePage() {
auto nodeText = ui->lineEdit_customNode->text().trimmed();
if(!nodeText.isEmpty()) {
auto customNodes = m_ctx->nodes->customNodes();
auto node = FeatherNode(nodeText, 0, false);
auto node = FeatherNode(nodeText);
customNodes.append(node);
m_ctx->setCustomNodes(customNodes);
}