mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 02:38:11 +01:00
Use libsecp256k1 to sign.
Added 'Revoke' button to sent offers page.
This commit is contained in:
@@ -4440,7 +4440,7 @@ class BasicSwap(BaseApp):
|
||||
bids_received += r[2]
|
||||
|
||||
now = int(time.time())
|
||||
q = self.engine.execute('SELECT COUNT(*) FROM offers WHERE expire_at > {}'.format(now)).first()
|
||||
q = self.engine.execute('SELECT COUNT(*) FROM offers WHERE active_ind = 1 AND expire_at > {}'.format(now)).first()
|
||||
num_offers = q[0]
|
||||
|
||||
q = self.engine.execute('SELECT COUNT(*) FROM offers WHERE was_sent = 1').first()
|
||||
|
||||
Reference in New Issue
Block a user