ChainSafe / ChainSafe/EthereumRPCSharp

Decode null string 0x80 returns null instead of empty byte

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
Type: Bug
Dominant language
C#
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

If we try to do the following:
```
var byteArray = "0x80".HexToByteArray();

var decodedIRLP = RLP.Decode(byteArray);
```
The decodedIRLP.RLPData is null instead of having a **new byte[0]** inside, that's the expected result

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.