diff --git a/app/assets/v2/js/shared.js b/app/assets/v2/js/shared.js index e17cb14a909..d53dc6e78e7 100644 --- a/app/assets/v2/js/shared.js +++ b/app/assets/v2/js/shared.js @@ -1556,7 +1556,7 @@ function check_balance_and_alert_user_if_not_enough( amount, msg = 'You do not have enough tokens to perform this action.') { - if (tokenAddress == "0x0" || tokenAddress == "0x0000000000000000000000000000000000000000") { + if (tokenAddress == '0x0' || tokenAddress == '0x0000000000000000000000000000000000000000') { return; } diff --git a/app/marketing/tests/management/commands/test_expiration_tip.py b/app/marketing/tests/management/commands/test_expiration_tip.py index a26ab2f11f0..086c1e61e2d 100644 --- a/app/marketing/tests/management/commands/test_expiration_tip.py +++ b/app/marketing/tests/management/commands/test_expiration_tip.py @@ -33,6 +33,7 @@ class TestExpirationTip(TestCase): def setUp(self): self.tip = Tip.objects.create( emails=['john@bar.com'], + primary_email=['john@bar.com'], tokenName='USDT', amount=7, username='john',