More tests, code cleanup

This commit is contained in:
SChernykh
2024-06-26 11:25:21 +02:00
parent 75a894bbd1
commit b5558baa4c
6 changed files with 24 additions and 9 deletions
+1 -1
View File
@@ -564,7 +564,7 @@ void p2pool::update_aux_data(const hash& chain_id)
data.aux_nonce = m_auxNonce;
}
else if (find_aux_nonce(aux_id, data.aux_nonce)) {
m_auxId = aux_id;
m_auxId = std::move(aux_id);
m_auxNonce = data.aux_nonce;
}
else {