fix: Remove some unnecessary logs
All checks were successful
Build Docker / Build Image (push) Successful in 43s

This commit is contained in:
Nathan Woodburn 2025-02-05 14:53:33 +11:00
parent ab7749ef93
commit afc227b5b4
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
3 changed files with 2 additions and 16 deletions

View File

@ -436,7 +436,6 @@ def send(account,address,amount):
def isOwnDomain(account,name: str):
domains = getDomains(account)
for domain in domains:
print(domain)
if domain['name'] == name:
return True
return False
@ -1139,7 +1138,6 @@ def getxPub(account):
try:
print(account_name)
response = hsw.getAccountInfo(account_name,"default")
if 'error' in response:
return {

View File

@ -551,7 +551,6 @@ def finalize(domain: str):
return redirect("/logout")
domain = domain.lower()
print(domain)
response = account_module.finalize(request.cookies.get("account"),domain)
if response['error'] != None:
print(response)
@ -570,7 +569,6 @@ def cancelTransfer(domain: str):
return redirect("/logout")
domain = domain.lower()
print(domain)
response = account_module.cancelTransfer(request.cookies.get("account"),domain)
if 'error' in response:
if response['error'] != None:
@ -885,7 +883,6 @@ def auction(domain):
# Get TX
revealInfo = account_module.getRevealTX(reveal)
reveal['bid'] = revealInfo
print(revealInfo)
bids = render.bids(bids,reveals)
@ -947,7 +944,6 @@ def rescan_auction(domain):
domain = domain.lower()
response = account_module.rescan_auction(account,domain)
print(response)
return redirect("/auction/" + domain)
@app.route('/auction/<domain>/bid')
@ -1023,7 +1019,7 @@ def bid_confirm(domain):
response = account_module.bid(request.cookies.get("account"),domain,
float(bid),
float(blind))
print(response)
if 'error' in response:
return redirect("/auction/" + domain + "?error=" + response['error']['message'])
@ -1045,7 +1041,7 @@ def open_auction(domain):
if 'error' in response:
if response['error'] != None:
return redirect("/auction/" + domain + "?error=" + response['error']['message'])
print(response)
return redirect("/success?tx=" + response['hash'])
@app.route('/auction/<domain>/reveal')

View File

@ -42,11 +42,3 @@ if __name__ == '__main__':
print(f'Press Ctrl+C to stop the server', flush=True)
print(f'Serving on http://0.0.0.0:5000/', flush=True)
serve(app, host="0.0.0.0", port=5000, threads=threads)