mirror of
https://github.com/planetmint/planetmint.git
synced 2025-07-06 20:52:30 +00:00
blackified
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
815f5c199d
commit
e153a87c44
@ -919,10 +919,10 @@ class Planetmint(object):
|
|||||||
|
|
||||||
txids = [self.get_transaction(tx_id) for tx_id in txn_ids]
|
txids = [self.get_transaction(tx_id) for tx_id in txn_ids]
|
||||||
txns = []
|
txns = []
|
||||||
if len( txids ) > 0:
|
if len(txids) > 0:
|
||||||
for tx in txids:
|
for tx in txids:
|
||||||
if tx:
|
if tx:
|
||||||
txns.append(Transaction.from_dict(tx.to_dict()) )
|
txns.append(Transaction.from_dict(tx.to_dict()))
|
||||||
|
|
||||||
elections = self._get_votes(txns)
|
elections = self._get_votes(txns)
|
||||||
for election_id in elections:
|
for election_id in elections:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user