cardano-php / cardano-php/bech32

Minor: The `encode` method does not handle empty data arrays explicitly

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.