Skip to content

Commit

Permalink
core: use contentHashCode in SigData
Browse files Browse the repository at this point in the history
  • Loading branch information
Khoyo committed Jul 5, 2024
1 parent b05d26f commit f9ca84d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ data class SigData<MarkerT>(val schema: SigSchema<MarkerT>, private val data: In

override fun hashCode(): Int {
var result = schema.hashCode()
result = 31 * result + data.hashCode()
result = 31 * result + data.contentHashCode()
return result
}
}

0 comments on commit f9ca84d

Please sign in to comment.