Skip to content

Instantly share code, notes, and snippets.

@CosminNechifor
Last active August 16, 2018 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CosminNechifor/58674a40855d1596f49ea23ab3eae6f6 to your computer and use it in GitHub Desktop.
Save CosminNechifor/58674a40855d1596f49ea23ab3eae6f6 to your computer and use it in GitHub Desktop.
(Pdb++) p.pprint(old_version)
[{'block_number': 36,
'event': 'SendRevealSecret',
'message_identifier': 16539989251741823448,
'queue_identifier': QueueIdentifier(recipient=b'co7\xd7\x85%}\x91\x991\xac\xff1\x8fp\xfb}\xa4\xf9\x03', channel_identifier=0),
'recipient': b'co7\xd7\x85%}\x91\x991\xac\xff1\x8fp\xfb}\xa4\xf9\x03',
'secret': b'(z\x8e\xad\xec\xbf\x11\x1d\xaaO\x1c\x05\xdf\x96Gw\x830)\xe5'
b'\x8a\xe5\xdb\x0e\xb5v\x85\xbb\x1cu\xd4\x80',
'secrethash': b'\xf1t\xd0\x10\x1ar\x90\x82\x03\xad\x8f\x90\xe8\x83\x95\x9b'
b'\xe5\xef\xdb\xf2j\xe2\xce\x02\xa9h=o\xc5="\xc7'},
{'amount': 200,
'block_number': 36,
'event': 'EventPaymentSentSuccess',
'identifier': 43,
'payment_network_identifier': b'A\xac&2\xd8\xc23xG\x83\xe5\x0e\xc6g\x8c\xdc'
b'C\xf7Lv',
'target': b'co7\xd7\x85%}\x91\x991\xac\xff1\x8fp\xfb}\xa4\xf9\x03',
'token_network_identifier': b'\xed\xf1\x897\xbe@d\xdf\xbe>0{\xd1\x93\xe8\x12'
b'\xb7#\xaco'},
{'block_number': 36,
'event': 'EventUnlockSuccess',
'identifier': 43,
'secrethash': b'\xf1t\xd0\x10\x1ar\x90\x82\x03\xad\x8f\x90\xe8\x83\x95\x9b'
b'\xe5\xef\xdb\xf2j\xe2\xce\x02\xa9h=o\xc5="\xc7'},
{'block_number': 36,
'event': 'EventPaymentSentFailed',
'identifier': 43,
'payment_network_identifier': b'A\xac&2\xd8\xc23xG\x83\xe5\x0e\xc6g\x8c\xdc'
b'C\xf7Lv',
'reason': 'there is no route available',
'target': b'co7\xd7\x85%}\x91\x991\xac\xff1\x8fp\xfb}\xa4\xf9\x03',
'token_network_identifier': b'\xed\xf1\x897\xbe@d\xdf\xbe>0{\xd1\x93\xe8\x12'
b'\xb7#\xaco'}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment