fix name is not part of old sigs

This commit is contained in:
Victor Shyba 2019-03-23 01:19:17 -03:00 committed by Lex Berezhny
parent a9e0eeba7e
commit fe9aa666e9
2 changed files with 0 additions and 2 deletions

View file

@ -96,7 +96,6 @@ class Output(BaseOutput):
def is_signed_by(self, channel: 'Output', ledger=None):
if self.claim.unsigned_payload:
pieces = [
self.claim_name.lower().encode(),
Base58.decode(self.get_address(ledger)),
self.claim.unsigned_payload,
self.claim.signing_channel_hash

View file

@ -463,7 +463,6 @@ def generate_signed_legacy(name: str, address: bytes, output: Output):
))
claim.ClearField("publisherSignature")
digest = sha256(b''.join([
name.lower().encode(),
decoded_address,
claim.SerializeToString(),
output.claim_hash