Skip to content

Commit

Permalink
fix compilation (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
fpelliccioni authored Sep 5, 2024
1 parent 598ea0b commit 313e9f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/kth/domain/chain/token_data.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ size_t serialized_size(fungible const& x) {

inline constexpr
size_t serialized_size(non_fungible const& x) {
if (x.commitment.empty()) return 0;
if (std::size(x.commitment) == 0) return 0;
return kth::size_variable_integer(x.commitment.size()) + x.commitment.size();
}

Expand Down

0 comments on commit 313e9f2

Please sign in to comment.