Skip to content

Commit

Permalink
#22: little fix
Browse files Browse the repository at this point in the history
  • Loading branch information
y9san9 committed Oct 14, 2021
1 parent c867552 commit 0fe00d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ internal class HexStringValueClass(private val value: String): HexString {

override val withoutPrefix: String get() = value.removePrefix(HEX_PREFIX)
override val prefixed: String get() = "$HEX_PREFIX$withoutPrefix"
override val bigInt: BigInt get() = value.bi(RADIX)
override val bigInt: BigInt get() = withoutPrefix.bi(RADIX)

override fun toString() = withoutPrefix
override fun hashCode(): Int = withoutPrefix.hashCode()
Expand Down

0 comments on commit 0fe00d6

Please sign in to comment.