We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c58212a + 51e2222 commit 1e6213dCopy full SHA for 1e6213d
src/Utils.php
@@ -93,7 +93,6 @@ public static function toHex($value, $isPrefix=false)
93
$hex = $bn->toHex(true);
94
$hex = preg_replace('/^0+(?!$)/', '', $hex);
95
} elseif (is_string($value)) {
96
- $value = self::stripZero($value);
97
$hex = implode('', unpack('H*', $value));
98
} elseif ($value instanceof BigNumber) {
99
$hex = $value->toHex(true);
0 commit comments