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] [Updated] (TUWENI-31) "Bytes.toShortHextString" is too short
for zero quantities.
[ https://issues.apache.org/jira/browse/TUWENI-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Abdelhamid Bakhta updated TUWENI-31:
------------------------------------
Description:
*toShortHextString* method currently returns `0x` string for byte array with only zeros. We should expect a `0x0` in this case.
I would suggest one of the following approaches:
* update the method to return `0x0`
* add a new method for quantities and use the existing one for byte arrays
was:
*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
> "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
> Priority: High
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> *toShortHextString* method currently returns `0x` string for byte array with only zeros. We should expect a `0x0` in this case.
> I would suggest one of the following approaches:
> * 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