func AddressToAccountId(address string) (result xdr.AccountId, err error) {

	bytes, err := strkey.Decode(strkey.VersionByteAccountID, address)

	if err != nil {
		return
	}

	var raw xdr.Uint256
	copy(raw[:], bytes)
	pk, err := xdr.NewPublicKey(xdr.CryptoKeyTypeKeyTypeEd25519, raw)
	if err != nil {
		return
	}

	result = xdr.AccountId(pk)

	return
}
func AddressToAccountId(address string) (result xdr.AccountId, err error) {

	bytes, err := strkey.Decode(strkey.VersionByteAccountID, address)

	if err != nil {
		return
	}

	var raw xdr.Uint256
	copy(raw[:], bytes)
	pk, err := xdr.NewPublicKey(xdr.CryptoKeyTypeKeyTypeEd25519, raw)
	if err != nil {
		return
	}

	result = xdr.AccountId(pk)

	return
}
// AddressToAccountId converts the provided address into a xdr.AccountId