mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-19 13:18:26 +02:00
Add test for get sent offer by squeak and peer (#1693)
This commit is contained in:
parent
76e1bd29cc
commit
dc6cef8cff
2 changed files with 75 additions and 0 deletions
|
|
@ -1205,6 +1205,8 @@ class SqueakDb:
|
|||
"""
|
||||
Get a sent offer by squeak hash and peer address host. Only
|
||||
return sent offer if it's not expired and not paid.
|
||||
|
||||
TODO: add where clause for peer address network.
|
||||
"""
|
||||
s = (
|
||||
select([self.sent_offers])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue