You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tuweni.apache.org by "Abdelhamid Bakhta (Jira)" <ji...@apache.org> on 2020/01/14 16:42:00 UTC
[jira] [Created] (TUWENI-31) "Bytes.toShortHextString" is too short
for zero quantities.
Abdelhamid Bakhta created TUWENI-31:
---------------------------------------
Summary: "Bytes.toShortHextString" is too short for zero quantities.
Key: TUWENI-31
URL: https://issues.apache.org/jira/browse/TUWENI-31
Project: Tuweni
Issue Type: Bug
Reporter: Abdelhamid Bakhta
*toShortHextString* method currently returns `0x` string for byte array with only zeros. We should expect a `0x0` in this case.
I would suggest either:
* update the method to return `0x0`
* add a new method for quantities and use the existing one for byte arrays
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@tuweni.apache.org
For additional commands, e-mail: issues-help@tuweni.apache.org