mirror of
https://git.wownero.com/wownero/wownero-funding-system.git
synced 2024-08-15 00:53:45 +00:00
Fetch txs from pool
This commit is contained in:
parent
7b177679af
commit
03db09423c
1 changed files with 4 additions and 2 deletions
|
@ -102,7 +102,8 @@ class Daemon:
|
|||
}
|
||||
|
||||
data = self._make_request(data)
|
||||
data = data['result'].get('in', [])
|
||||
data = data['result']
|
||||
data = data.get('in', []) + data.get('pool', [])
|
||||
|
||||
# filter by current proposal
|
||||
txs = [tx for tx in data if tx.get('address') == address['address']]
|
||||
|
@ -136,7 +137,8 @@ class Daemon:
|
|||
}
|
||||
|
||||
data = self._make_request(data)
|
||||
data = data['result'].get('out', [])
|
||||
data = data['result']
|
||||
data = data.get('out', []) + data.get('pool', [])
|
||||
|
||||
# filter by current proposal
|
||||
txs = [tx for tx in data if tx.get('address') == address['address']]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue