Skip to content

Commit

Permalink
Rename from->from_txid and to
Browse files Browse the repository at this point in the history
  • Loading branch information
maxtropets committed Oct 8, 2024
1 parent 37c26d5 commit 83a3381
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions include/ccf/crypto/cose_verifier.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ namespace ccf::crypto

struct COSEEndorsementValidity
{
std::string from{};
std::string to{};
std::string from_txid{};
std::string to_txid{};
};
COSEEndorsementValidity extract_cose_endorsement_validity(
std::span<const uint8_t> cose_msg);
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/openssl/cose_verifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,6 @@ namespace ccf::crypto
return {};
}

return COSEEndorsementValidity{.from = from, .to = to};
return COSEEndorsementValidity{.from_txid = from, .to_txid = to};
}
}

0 comments on commit 83a3381

Please sign in to comment.