Skip to content

Commit

Permalink
contract: add message and claim to parse
Browse files Browse the repository at this point in the history
  • Loading branch information
div72 committed Oct 10, 2021
1 parent 8d9571d commit 5e70203
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gridcoin/contract/contract.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,8 @@ Contract::Type Contract::Type::Parse(std::string input)
if (input == "project") return ContractType::PROJECT;
if (input == "scraper") return ContractType::SCRAPER;
if (input == "protocol") return ContractType::PROTOCOL;
if (input == "claim") return ContractType::CLAIM;
if (input == "message") return ContractType::MESSAGE;

return ContractType::UNKNOWN;
}
Expand Down

0 comments on commit 5e70203

Please sign in to comment.