// convert the prefix on a bech32 address
convert the prefix on a bech32 address
// convert the prefix on a bech32 address
func bech32ify(addrBech, prefix string) (string, error) {
	hrp, addrBytes, err := bech32.DecodeAndConvert(addrBech)
	if err != nil {
		return "", err
	}
	_ = hrp
	newAddrBech, err := bech32.ConvertAndEncode(prefix, addrBytes)
	if err != nil {
		return "", err
	}
	return newAddrBech, nil
}
func bech32ify ( addrBech , prefix string ) ( string , error ) { hrp , addrBytes , err := bech32 . DecodeAndConvert ( addrBech ) if err != nil { return " " , err } _ = hrp newAddrBech , err := bech32 . ConvertAndEncode ( prefix , addrBytes ) if err != nil { return " " , err } return newAddrBech , nil }
convert the prefix on a bech32 address
convert the prefix on a bech32 address