Skip to content

Commit

Permalink
fix test and style
Browse files Browse the repository at this point in the history
  • Loading branch information
danlipert committed Apr 17, 2019
1 parent fa75073 commit 218ba8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/v2/js/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class TestExpirationTip(TestCase):
def setUp(self):
self.tip = Tip.objects.create(
emails=['[email protected]'],
primary_email=['[email protected]'],
tokenName='USDT',
amount=7,
username='john',
Expand Down

0 comments on commit 218ba8e

Please sign in to comment.