cardano-php / cardano-php/bech32
Minor: The `encode` method does not handle empty data arrays explicitly
Open
good first issue
- Dominant language
- PHP
- Stars
- 2
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Minor: The `encode` method does not handle empty data arrays explicitly. While the current tests do not cover this, it should be ensured that encoding with an empty data array results in a valid Bech32 string with only the HRP and separator.
_Originally posted by @latheesan-k in https://github.com/cardano-php/bech32/pull/1#discussion_r1901181949_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.