Skip to content

Commit

Permalink
Fix to last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoEzekiel committed May 10, 2024
1 parent 623460f commit 82ce50d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 DecodeNoLimitWithVersion(bech string) (string, []byte, error) {
func DecodeNoLimit(bech string) (string, []byte, error) {
hrp, data, _, err := decodeNoLimit(bech)
return hrp, data, err
}
Expand All @@ -271,7 +271,7 @@ func DecodeNoLimitWithVersion(bech string) (string, []byte, error) {
//
// Note that the returned data is 5-bit (base32) encoded and the human-readable
// part will be lowercase.
func DecodeNoLimitGeneric(bech string) (string, []byte, Version, error) {
func DecodeNoLimitWithVersion(bech string) (string, []byte, Version, error) {
return decodeNoLimit(bech)
}

Expand Down

0 comments on commit 82ce50d

Please sign in to comment.