Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/sdk/main/include/ContractInfoQuery.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class ContractInfoQuery : public Query<ContractInfoQuery, ContractInfo>
* Set the ID of the contract of which to request the info.
*
* @param contractId The ID of the contract of which to request the info.
* @return A reference to this ContractInfoQuery object with the newly-set account ID.
* @return A reference to this ContractInfoQuery object with the newly-set contract ID.
*/
ContractInfoQuery& setContractId(const ContractId& contractId);

Expand All @@ -36,7 +36,7 @@ class ContractInfoQuery : public Query<ContractInfoQuery, ContractInfo>
*
* @return The ID of the contract for which this query is meant.
*/
[[nodiscard]] inline ContractId getContractId() { return mContractId; }
[[nodiscard]] inline ContractId getContractId() const { return mContractId; }

private:
/**
Expand Down
Loading