Skip to content
Snippets Groups Projects
Commit d5467cd4 authored by inso's avatar inso
Browse files

Fixed issue #131

parent e8934edb
No related branches found
No related tags found
No related merge requests found
......@@ -248,6 +248,7 @@ class Node(QObject):
peer = Peer.from_signed_raw("{0}{1}\n".format(p['value']['raw'],
p['value']['signature']))
neighbours.append(peer.endpoints)
logging.debug("Found neighbours : {0}".format(len(neighbours)))
node_currency = informations["currency"]
node_uid = self._request_uid()
......
......@@ -70,10 +70,13 @@ class Cache():
def _parse_transaction(self, community, tx, block_number,
mediantime, received_list, txid):
logging.debug(tx)
#logging.debug(tx.signed_raw())
receivers = [o.pubkey for o in tx.outputs
if o.pubkey != tx.issuers[0]]
if len(receivers) == 0:
receivers = [tx.issuers[0]]
try:
issuer_uid = Person.lookup(tx.issuers[0], community).uid
except PersonNotFoundError:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment