Skip to content

Commit

Permalink
SFT-3980: fixed wrong wallet signature message
Browse files Browse the repository at this point in the history
  • Loading branch information
mjg-foundation committed Aug 14, 2024
1 parent cafc0e9 commit 5630767
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ports/stm32/boards/Passport/modules/psbt.py
Original file line number Diff line number Diff line change
Expand Up @@ -1470,9 +1470,9 @@ def consider_keys(self):
others.discard(self.my_xfp)
msg = ', '.join(xfp2str(i) for i in others)

raise FatalPSBTIssue('This transaction can be signed by these wallets: %s,'
'but this passport has fingerprint %s.'
% (msg, xfp2str(self.my_xfp)))
raise FatalPSBTIssue('Transaction must be signed with wallet%s %s. '
'Currently active wallet is %s.'
% ('' if len(others) == 1 else 's', msg, xfp2str(self.my_xfp)))

@classmethod
def read_psbt(cls, fd):
Expand Down

0 comments on commit 5630767

Please sign in to comment.