started implementation of MoneroUtils::reconcile(val1, val2)

This commit is contained in:
woodser
2019-06-11 14:34:19 -04:00
parent 1179991636
commit 0f2bd4b164
2 changed files with 23 additions and 0 deletions
+3
View File
@@ -100,11 +100,14 @@ namespace monero {
void MoneroBlockHeader::merge(const MoneroBlockHeader& header) {
cout << "MoneroBlockHeader::merge()" << endl;
if (this == &header) return;
id = MoneroUtils::reconcile(id, header.id);
throw runtime_error("Not implemented");
}
void MoneroBlock::merge(const MoneroBlock& block) {
cout << "MoneroBlock::merge()" << endl;
MoneroBlockHeader::merge(block);
throw runtime_error("Not implemented");
}