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

Fixes to work with 0.9.11

parent 73e26ca4
No related branches found
No related tags found
No related merge requests found
...@@ -42,9 +42,6 @@ class SelfCertification(Document): ...@@ -42,9 +42,6 @@ class SelfCertification(Document):
META:TS:{1} META:TS:{1}
""".format(self.uid, self.timestamp) """.format(self.uid, self.timestamp)
def signed_raw(self):
return super().signed_raw()[:-1]
def inline(self): def inline(self):
return "{0}:{1}:{2}:{3}".format(self.pubkey, self.signatures[0], return "{0}:{1}:{2}:{3}".format(self.pubkey, self.signatures[0],
self.timestamp, self.uid) self.timestamp, self.uid)
...@@ -83,8 +80,7 @@ class Certification(Document): ...@@ -83,8 +80,7 @@ class Certification(Document):
blockhash, blocknumber, signature) blockhash, blocknumber, signature)
def raw(self, selfcert): def raw(self, selfcert):
return """{0} return """{0}META:TS:{1}-{2}
META:TS:{1}-{2}
""".format(selfcert.signed_raw(), self.blocknumber, self.blockhash) """.format(selfcert.signed_raw(), self.blocknumber, self.blockhash)
......
...@@ -77,7 +77,6 @@ SIGNATURE ...@@ -77,7 +77,6 @@ SIGNATURE
inputs = [] inputs = []
outputs = [] outputs = []
signatures = [] signatures = []
logging.debug(compact)
for i in range(0, issuers_num): for i in range(0, issuers_num):
issuer = Transaction.re_pubkey.match(lines[n]).group(1) issuer = Transaction.re_pubkey.match(lines[n]).group(1)
issuers.append(issuer) issuers.append(issuer)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment