func (a AccountAddress) Hex() string {
	return hex.EncodeToString(a[:])
}
Hex returns hex-encoded string of the address
package diemtypes
import (
	"encoding/hex"
	"fmt"
)
const AccountAddressLength = 16
func MakeAccountAddress(address string) (AccountAddress, error) {
	bytes, err := hex.DecodeString(address)
	if err != nil {
		return AccountAddress{}, err
	}
	return MakeAccountAddressFromBytes(bytes)
}
func MakeAccountAddressFromBytes(bytes []byte) (AccountAddress, error) {
	var ret AccountAddress
	if len(bytes) != AccountAddressLength {
		return ret, fmt.Errorf(
			"invalid account address bytes length: %v", len(bytes))
	}
	copy(ret[:], bytes)
	return ret, nil
}
func MustMakeAccountAddress(address string) AccountAddress {
	ret, err := MakeAccountAddress(address)
	if err != nil {
		panic(err)
	}
	return ret
}