Skip to content
Snippets Groups Projects
Commit 8e89bc23 authored by Caner Candan's avatar Caner Candan
Browse files

* wrappers/transactions.py: fixed an non-wished behaviour

parent 56580819
No related branches found
No related tags found
No related merge requests found
...@@ -42,6 +42,7 @@ class Transaction(Wrapper): ...@@ -42,6 +42,7 @@ class Transaction(Wrapper):
context_data['previousHash'] = hashlib.sha1(("%(raw)s%(signature)s" % last_tx).encode('ascii')).hexdigest().upper() if last_tx else None context_data['previousHash'] = hashlib.sha1(("%(raw)s%(signature)s" % last_tx).encode('ascii')).hexdigest().upper() if last_tx else None
context_data['message'] = self.message context_data['message'] = self.message
context_data['type'] = self.type context_data['type'] = self.type
context_data['fingerprint'] = self.pgp_fingerprint
context_data.update(self.get_context_data()) context_data.update(self.get_context_data())
tx = """\ tx = """\
......
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