From fe9aa666e9f044ef257a7f05739b0a2984b22ec8 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Sat, 23 Mar 2019 01:19:17 -0300 Subject: [PATCH] fix name is not part of old sigs --- lbrynet/wallet/transaction.py | 1 - tests/integration/test_claim_commands.py | 1 - 2 files changed, 2 deletions(-) diff --git a/lbrynet/wallet/transaction.py b/lbrynet/wallet/transaction.py index c1a4e8aca..202fdb91a 100644 --- a/lbrynet/wallet/transaction.py +++ b/lbrynet/wallet/transaction.py @@ -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 diff --git a/tests/integration/test_claim_commands.py b/tests/integration/test_claim_commands.py index d1a30514d..60e85e593 100644 --- a/tests/integration/test_claim_commands.py +++ b/tests/integration/test_claim_commands.py @@ -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