Skip to content

Commit

Permalink
Merge branch 'hotfix'
Browse files Browse the repository at this point in the history
  • Loading branch information
pta2002 committed May 22, 2017
2 parents 06b6b1b + 02cdaa6 commit c55b99b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shop/cryptomethods.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ def sendtoaddress(addr, ammount):
def validateaddress(addr):
if getattr(settings, 'TESTING', False):
return get_rpc().validateaddress(addr)
return len(addr) == 34 # TODO: More accurate
return {'isvalid': len(addr) == 34} # TODO: More accurate

0 comments on commit c55b99b

Please sign in to comment.