mirror of
https://github.com/planetmint/planetmint.git
synced 2025-03-30 15:08:31 +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]
|
||||
txns = []
|
||||
if len( txids ) > 0:
|
||||
if len(txids) > 0:
|
||||
for tx in txids:
|
||||
if tx:
|
||||
txns.append(Transaction.from_dict(tx.to_dict()) )
|
||||
txns.append(Transaction.from_dict(tx.to_dict()))
|
||||
|
||||
elections = self._get_votes(txns)
|
||||
for election_id in elections:
|
||||
|
Loading…
x
Reference in New Issue
Block a user