mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 02:38:11 +01:00
Don't timeout if initiate tx is known.
This commit is contained in:
@@ -315,8 +315,12 @@ class HttpHandler(BaseHTTPRequestHandler):
|
||||
raise ValueError('Bad bid ID')
|
||||
swap_client = self.server.swap_client
|
||||
|
||||
content = html_content_start(self.server.title, self.server.title) \
|
||||
+ '<h3>Advance: ' + bid_id.hex() + '</h3>'
|
||||
template = env.get_template('advance.html')
|
||||
return bytes(template.render(
|
||||
title=self.server.title,
|
||||
h2=self.server.title,
|
||||
bid_id=bid_id.hex(),
|
||||
), 'UTF-8')
|
||||
|
||||
def page_bid(self, url_split, post_string):
|
||||
assert(len(url_split) > 2), 'Bid ID not specified'
|
||||
|
||||
Reference in New Issue
Block a user