Skip to content

Commit

Permalink
Merge pull request #80 from hypha-dao/hotfix/shorten-memo
Browse files Browse the repository at this point in the history
changed memo to shorten it to fix error message, probably still needs to be updated
  • Loading branch information
mgravitt committed May 14, 2021
2 parents 6a2afd3 + 6eb1135 commit c8c3772
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/dao.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,10 @@ namespace hypha
assignmentNodeLabel = std::get<std::string>(assignmentLabel->value);
}

string memo = "[assignment_label:" + assignmentNodeLabel + ",period_label:" + periodToClaim.value().getNodeLabel()
+ ",assignment_hash:" + readableHash(assignment.getHash()) + ",period_hash:" + readableHash(periodToClaim.value().getHash()) + "]";
string memo = assignmentNodeLabel + ", period: " + periodToClaim.value().getNodeLabel();

// string memo = "[assignment_label:" + assignmentNodeLabel + ",period_label:" + periodToClaim.value().getNodeLabel()
// + ",assignment_hash:" + readableHash(assignment.getHash()) + ",period_hash:" + readableHash(periodToClaim.value().getHash()) + "]";

// creating a single struct improves performance for table queries here
AssetBatch ab{};
Expand Down

0 comments on commit c8c3772

Please sign in to comment.