Skip to content

Commit

Permalink
Renamed DecodeNoLimitGeneric to DecodeNoLimitWithVersion as per commu…
Browse files Browse the repository at this point in the history
…nity feedback
  • Loading branch information
MarcoEzekiel committed May 10, 2024
1 parent a0d6d77 commit 623460f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion btcutil/bech32/bech32.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ func decodeNoLimit(bech string) (string, []byte, Version, error) {
//
// Note that the returned data is 5-bit (base32) encoded and the human-readable
// part will be lowercase.
func DecodeNoLimit(bech string) (string, []byte, error) {
func DecodeNoLimitWithVersion(bech string) (string, []byte, error) {
hrp, data, _, err := decodeNoLimit(bech)
return hrp, data, err
}
Expand Down

0 comments on commit 623460f

Please sign in to comment.