fix whitespace

This commit is contained in:
Ben Wilson 2019-12-12 10:52:57 -05:00
parent 241c18406e
commit 7f2703570a
1 changed files with 0 additions and 3 deletions

View File

@ -77,7 +77,6 @@ def index(request):
drip.save()
msg = "Sent! txid: {0}. View your transaction on the testnet explorer.".format(tx)
return render(request, 'faucet/faucet.html', {'version':version,'balance':balance,'difficulty':difficulty,'height':height, 'payouts':payouts, 'flash':True, 'message':msg})
# Sapling address
elif len(address) == len('ztestsapling1603ydy9hg79lv5sv9pm5hn95cngfv4qpd6y54a8wkyejn72jl30a4pfhw8u00p93mu4nj6qxsqg'):
print('Received a Sapling address')
@ -124,6 +123,4 @@ def index(request):
msg = "Issue sending transaction. Is your address correct?"
return render(request, 'faucet/faucet.html', {'version':version,'balance':balance,'difficulty':difficulty,'height':height, 'payouts':payouts, 'flash':True, 'message':msg})
return render(request, 'faucet/faucet.html', {'version':version,'balance':balance,'difficulty':difficulty,'height':height, 'payouts':payouts, 'flash':False, 'message':""})