Don't require ethereum address verification if instance connected to Monero blockchain

This commit is contained in:
silverpill 2022-09-09 10:37:42 +00:00
parent 10895e6830
commit 48336803fb

View file

@ -450,7 +450,6 @@ function canManageSubscriptions(): boolean {
return ( return (
Boolean(blockchain?.features.subscriptions) && Boolean(blockchain?.features.subscriptions) &&
profile !== null && profile !== null &&
profile.getVerifiedEthereumAddress() !== null &&
isCurrentUser() isCurrentUser()
) )
} }
@ -460,7 +459,6 @@ function canSubscribe(): boolean {
return ( return (
Boolean(blockchain?.features.subscriptions) && Boolean(blockchain?.features.subscriptions) &&
profile !== null && profile !== null &&
profile.getVerifiedEthereumAddress() !== null &&
profile.getSubscriptionPageLocation() !== null && profile.getSubscriptionPageLocation() !== null &&
!isCurrentUser() !isCurrentUser()
) )