Skip to content

Commit 1a0e0ee

Browse files
committed
Remove reference to Kin in ValidateExternalTokenAccount
1 parent e5307bd commit 1a0e0ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/code/common/account.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ func ValidateExternalTokenAccount(ctx context.Context, data code_data.Provider,
447447
case solana.ErrNoAccountInfo, token.ErrAccountNotFound:
448448
return false, fmt.Sprintf("%s doesn't exist on the blockchain", tokenAccount.publicKey.ToBase58()), nil
449449
case token.ErrInvalidTokenAccount:
450-
return false, fmt.Sprintf("%s is not a kin token account", tokenAccount.publicKey.ToBase58()), nil
450+
return false, fmt.Sprintf("%s is not a core mint account", tokenAccount.publicKey.ToBase58()), nil
451451
default:
452452
// Unfortunate if Solana is down, but this only impacts withdraw flows,
453453
// and we need to guarantee this isn't going to something that's not

0 commit comments

Comments
 (0)